fixed volume bug #2202

This commit is contained in:
Aman Kumar 2015-02-19 01:58:24 +05:30
parent f7450c214c
commit a74c2a58e2

View file

@ -86,7 +86,7 @@ module.exports = class LevelGuideView extends CocoView
Backbone.Mediator.publish 'level:docs-shown', {}
onHidden: ->
createjs?.Sound?.setVolume?(@volume ? 1.0)
createjs?.Sound?.setVolume?(@volume ? me.get('volume'))
Backbone.Mediator.publish 'level:docs-hidden', {}
onShown: ->