fix marble sounds lmao

This commit is contained in:
RandomityGuy 2023-07-17 01:52:36 +05:30
parent 86836e03c3
commit acd512aee6

View file

@ -2117,4 +2117,16 @@ class Marble extends GameObject {
marbledts.scale(this._prevRadius / 0.675);
}
}
override function dispose() {
if (this.rollSound != null)
this.rollSound.stop();
if (this.rollMegaSound != null)
this.rollMegaSound.stop();
if (this.slipSound != null)
this.slipSound.stop();
if (this.helicopterSound != null)
this.helicopterSound.stop();
super.dispose();
}
}