mirror of
https://github.com/photonstorm/phaser
synced 2024-12-17 16:43:30 +00:00
Setting locked property to false after unlocking
This commit is contained in:
parent
28b098348b
commit
8ec82c3a4d
1 changed files with 1 additions and 0 deletions
|
@ -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--) {
|
||||
|
|
Loading…
Reference in a new issue