Removeing sound from manager before calling BaseSound destroy method

This commit is contained in:
Pavle Goloskokovic 2018-01-20 21:18:42 +01:00
parent 7ecc671781
commit b42a426cc9

View file

@ -56,6 +56,7 @@ var NoAudioSound = new Class({
return false;
},
destroy: function () {
this.manager.remove(this);
BaseSound.prototype.destroy.call(this);
}
});