From 8ec82c3a4d51fdc41e7d93da707d65d2d7777e6d Mon Sep 17 00:00:00 2001 From: Pavle Goloskokovic Date: Wed, 17 Jan 2018 18:12:03 +0100 Subject: [PATCH] Setting locked property to false after unlocking --- src/sound/BaseSoundManager.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sound/BaseSoundManager.js b/src/sound/BaseSoundManager.js index 0027db8af..6dbfcf410 100644 --- a/src/sound/BaseSoundManager.js +++ b/src/sound/BaseSoundManager.js @@ -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--) {