From b3009ae909e46949bb2032e7c5aaf5d4d43887a9 Mon Sep 17 00:00:00 2001 From: Nick Winter Date: Sat, 22 Feb 2014 15:26:38 -0800 Subject: [PATCH] Fixed #7 with a nice cast-end sound (just reverse of cast sound). --- app/views/play/level/tome/cast_button_view.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/play/level/tome/cast_button_view.coffee b/app/views/play/level/tome/cast_button_view.coffee index e7b9558a7..69c9cd8f4 100644 --- a/app/views/play/level/tome/cast_button_view.coffee +++ b/app/views/play/level/tome/cast_button_view.coffee @@ -57,7 +57,7 @@ module.exports = class CastButtonView extends View onCastSpells: (e) -> @casting = true - Backbone.Mediator.publish 'play-sound', trigger: 'cast', volume: 0.25 + Backbone.Mediator.publish 'play-sound', trigger: 'cast', volume: 0.5 @updateCastButton() @onWorldLoadProgressChanged progress: 0 @@ -67,6 +67,7 @@ module.exports = class CastButtonView extends View onNewWorld: (e) -> @casting = false + Backbone.Mediator.publish 'play-sound', trigger: 'cast-end', volume: 0.5 @updateCastButton() updateCastButton: ->