From e82b578eb8e9f9c5df5056cf7e45af536edd87ae Mon Sep 17 00:00:00 2001 From: Abnormal <86753001+AbnormalPoof@users.noreply.github.com> Date: Mon, 16 Jun 2025 23:40:03 -0500 Subject: [PATCH] fix a crash when returning to the chart editor on release builds --- source/funkin/play/PauseSubState.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/funkin/play/PauseSubState.hx b/source/funkin/play/PauseSubState.hx index 5dcca8a42..2ebcf63a0 100644 --- a/source/funkin/play/PauseSubState.hx +++ b/source/funkin/play/PauseSubState.hx @@ -1047,8 +1047,8 @@ class PauseSubState extends MusicBeatSubState AdMobUtil.removeBanner(); #end if (FlxG.sound.music != null) FlxG.sound.music.pause(); // Don't reset song position! - PlayState.instance.close(); // This only works because PlayState is a substate! state.close(); + PlayState.instance.close(); // This only works because PlayState is a substate! } }