Resetting hasEnded in update method

This commit is contained in:
Pavle Goloskokovic 2017-11-26 17:07:56 +01:00
parent 0a078d26f6
commit 66dcd9f02f

View file

@ -139,6 +139,7 @@ var WebAudioSound = new Class({
},
update: function () {
if (this.hasEnded) {
this.hasEnded = false;
this.stop();
}
},