fix transition crash when skipping (#490)

This commit is contained in:
TheZoroForce240
2024-12-13 16:19:44 +01:00
committed by GitHub
parent c4abac4ba1
commit 49f13ed8c8
+2 -1
View File
@@ -79,7 +79,8 @@ class MusicBeatTransition extends MusicBeatSubstate {
public function finish() {
if (newState != null)
FlxG.switchState(newState);
close();
else
close();
}
public override function destroy() {