Resetting sound's touchLockedActionQueue

This commit is contained in:
Pavle Goloskokovic 2018-01-17 17:35:54 +01:00
parent 04b9996ac7
commit 94cefc9621

View file

@ -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;