From ba3481356cda31145759f911d76f71c43b774f2f Mon Sep 17 00:00:00 2001 From: Kolo <67389779+JustKolosaki@users.noreply.github.com> Date: Wed, 26 Nov 2025 12:35:49 +0100 Subject: [PATCH] fix starting a playtest opening pause menu --- source/funkin/play/PlayState.hx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/funkin/play/PlayState.hx b/source/funkin/play/PlayState.hx index d304bdbe2..bf4efb188 100644 --- a/source/funkin/play/PlayState.hx +++ b/source/funkin/play/PlayState.hx @@ -811,6 +811,10 @@ class PlayState extends MusicBeatSubState // This state receives draw calls even when a substate is active. this.persistentDraw = true; + // Make the player unable to pause if they're moving from the chart editor while the focus is still on since the input persists. + @:privateAccess + justUnpaused = isChartingMode && !FlxG.game._lostFocus; + // Stop any pre-existing music. if (!overrideMusic) {