Merge pull request #1992 from FunkinCrew/pr-6495/koloindacrib/chart-editor-playtest-pause

[PUBLIC PR] Fix the game immediately pausing when playtesting in the Chart Editor
This commit is contained in:
Eric
2025-11-26 22:45:27 -05:00
committed by GitHub
+4
View File
@@ -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)
{