Skip to content

Commit 8ec82c3

Browse files
Setting locked property to false after unlocking
1 parent 28b0983 commit 8ec82c3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/sound/BaseSoundManager.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ var BaseSoundManager = new Class({
311311
update: function (time, delta) {
312312
if (this.unlocked) {
313313
this.unlocked = false;
314+
this.locked = false;
314315
this.emit('unlocked', this);
315316
}
316317
for (var i = this.sounds.length - 1; i >= 0; i--) {

0 commit comments

Comments
 (0)