From 96108634b4ddcb3b3f4459e261825c13cfd091c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=8D=9A=7ENex?= <87421482+NexIsDumb@users.noreply.github.com> Date: Mon, 7 Apr 2025 17:26:16 +0200 Subject: [PATCH] bugfix of the freezing conductor when pausing right on the frame the countdown ends --- source/funkin/game/PlayState.hx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/funkin/game/PlayState.hx b/source/funkin/game/PlayState.hx index 045e1a0c..65d5b0ac 100644 --- a/source/funkin/game/PlayState.hx +++ b/source/funkin/game/PlayState.hx @@ -1256,9 +1256,6 @@ class PlayState extends MusicBeatState updateRatingStuff(); - if (controls.PAUSE && startedCountdown && canPause) - pauseGame(); - if (canAccessDebugMenus) { if (chartingMode && FlxG.keys.justPressed.SEVEN) { FlxG.switchState(new funkin.editors.charter.Charter(SONG.meta.name, difficulty, false)); @@ -1300,6 +1297,9 @@ class PlayState extends MusicBeatState while(events.length > 0 && events.last().time <= Conductor.songPosition) executeEvent(events.pop()); + if (controls.PAUSE && startedCountdown && canPause) + pauseGame(); + if (generatedMusic && strumLines.members[curCameraTarget] != null) { var pos = FlxPoint.get();