mirror of
https://github.com/photonstorm/phaser
synced 2025-01-18 16:14:02 +00:00
Resetting sound's touchLockedActionQueue
This commit is contained in:
parent
04b9996ac7
commit
94cefc9621
1 changed files with 2 additions and 0 deletions
|
@ -135,6 +135,8 @@ var HTML5AudioSoundManager = new Class({
|
|||
sound.touchLockedActionQueue.forEach(function (touchLockedAction) {
|
||||
allSoundsTouchLockedActionQueue_1.push(touchLockedAction);
|
||||
});
|
||||
sound.touchLockedActionQueue.length = 0;
|
||||
sound.touchLockedActionQueue = null;
|
||||
});
|
||||
allSoundsTouchLockedActionQueue_1.sort(function (tla1, tla2) {
|
||||
return tla1.time - tla2.time;
|
||||
|
|
Loading…
Reference in a new issue