mirror of
https://github.com/photonstorm/phaser
synced 2025-01-18 16:14:02 +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) {
|
update: function (time, delta) {
|
||||||
if (this.unlocked) {
|
if (this.unlocked) {
|
||||||
this.unlocked = false;
|
this.unlocked = false;
|
||||||
|
this.locked = false;
|
||||||
this.emit('unlocked', this);
|
this.emit('unlocked', this);
|
||||||
}
|
}
|
||||||
for (var i = this.sounds.length - 1; i >= 0; i--) {
|
for (var i = this.sounds.length - 1; i >= 0; i--) {
|
||||||
|
|
Loading…
Reference in a new issue