Stupid casting sound effect.

This commit is contained in:
Nick Winter 2014-02-11 15:05:54 -08:00
parent 6505064fb6
commit c29e4d6c9c
2 changed files with 2 additions and 1 deletions

View file

@ -33,7 +33,7 @@ class Media
class AudioPlayer extends CocoClass
subscriptions:
'play-sound': (e) -> @playInterfaceSound e.trigger
'play-sound': (e) -> @playInterfaceSound e.trigger, e.volume
constructor: () ->
super()

View file

@ -54,6 +54,7 @@ module.exports = class CastButtonView extends View
onCastSpells: (e) ->
@casting = true
Backbone.Mediator.publish 'play-sound', trigger: 'cast', volume: 0.25
@updateCastButton()
onWorldLoadProgressChanged: (e) ->