1
0
mirror of https://gitlab.com/Deukhoofd/BattleSim.git synced 2025-09-02 08:57:19 +00:00
BattleSim/client/app/js/concerns/achievements.coffee
2016-02-01 23:19:30 +01:00

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)