mirror of
https://github.com/photonstorm/phaser
synced 2025-01-18 16:14:02 +00:00
Resetting lockedActionsQueue after performing all locked actions
This commit is contained in:
parent
88d26607ec
commit
b25af58495
1 changed files with 2 additions and 0 deletions
|
@ -114,6 +114,8 @@ var HTML5AudioSoundManager = new Class({
|
|||
lockedAction.sound[lockedAction.name] = lockedAction.value;
|
||||
}
|
||||
});
|
||||
_this.lockedActionsQueue.length = 0;
|
||||
_this.lockedActionsQueue = null;
|
||||
});
|
||||
document.body.addEventListener('touchend', unlock, false);
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue