mirror of
https://gitlab.com/Deukhoofd/BattleSim.git
synced 2025-09-02 08:57:19 +00:00
5 lines
255 B
CoffeeScript
5 lines
255 B
CoffeeScript
$currentModal = null
|
|
|
|
PokeBattle.primus.on 'achievementsEarned', (achievements) ->
|
|
# TODO: Add achievements to the current modal if one is already open
|
|
$currentModal = PokeBattle.modal('modals/achievements', window: window, achievements: achievements) |