frakits help mee

This commit is contained in:
Ralty
2025-07-22 20:19:16 +07:00
parent cb5e29dab7
commit 64114e9349
7 changed files with 28 additions and 19 deletions
+2 -3
View File
@@ -263,8 +263,9 @@ class FlxSound extends FlxBasic {
*/
public function reset():Void {
if (_source != null) stop();
x = y = 0;
onFinish.removeAll();
x = y = 0;
muted = false;
looped = false;
loopTime = 0;
@@ -297,8 +298,6 @@ class FlxSound extends FlxBasic {
_lastTime = null;
if (destroySound) {
onFinish.removeAll();
if (group != null) group.remove(this);
if (_channel != null) {