mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 05:33:35 +00:00
Resetting hasEnded in update method
This commit is contained in:
parent
0a078d26f6
commit
66dcd9f02f
1 changed files with 1 additions and 0 deletions
|
@ -139,6 +139,7 @@ var WebAudioSound = new Class({
|
|||
},
|
||||
update: function () {
|
||||
if (this.hasEnded) {
|
||||
this.hasEnded = false;
|
||||
this.stop();
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue