Setting locked property to false after unlocking

This commit is contained in:
Pavle Goloskokovic 2018-01-17 18:12:03 +01:00
parent 28b098348b
commit 8ec82c3a4d

View file

@ -311,6 +311,7 @@ var BaseSoundManager = new Class({
update: function (time, delta) {
if (this.unlocked) {
this.unlocked = false;
this.locked = false;
this.emit('unlocked', this);
}
for (var i = this.sounds.length - 1; i >= 0; i--) {