mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-28 22:00:25 -04:00
Fix error in playing victory sound
This commit is contained in:
parent
c6caafb7cd
commit
f9b9ac8f86
1 changed files with 2 additions and 1 deletions
|
@ -222,9 +222,10 @@ module.exports = class HeroVictoryModal extends ModalView
|
|||
initializeAnimations: ->
|
||||
if @level.get('type', true) is 'hero'
|
||||
@updateXPBars 0
|
||||
#playVictorySound = => @playSound 'victory-title-appear' # TODO: actually add this
|
||||
@$el.find('#victory-header').delay(250).queue(->
|
||||
$(@).removeClass('out').dequeue()
|
||||
@playSound 'victory-title-appear' # TODO: actually add this
|
||||
#playVictorySound()
|
||||
)
|
||||
complete = _.once(_.bind(@beginSequentialAnimations, @))
|
||||
@animatedPanels = $()
|
||||
|
|
Loading…
Add table
Reference in a new issue