diff --git a/src/sound/html5/HTML5AudioSoundManager.js b/src/sound/html5/HTML5AudioSoundManager.js index d9ab8a148..a6ca6eb28 100644 --- a/src/sound/html5/HTML5AudioSoundManager.js +++ b/src/sound/html5/HTML5AudioSoundManager.js @@ -137,6 +137,17 @@ var HTML5AudioSoundManager = new Class({ BaseSoundManager.prototype.destroy.call(this); this.onBlurPausedSounds.length = 0; this.onBlurPausedSounds = null; + }, + isLocked: function (sound, name, value) { + if (this.locked) { + this.lockedActionsQueue.push({ + sound: sound, + name: name, + value: value + }); + return true; + } + return false; } }); /**