From fc5f5f6218c7091ccab837aa92f0916f9e1cf9d2 Mon Sep 17 00:00:00 2001 From: Sector03 <61670787+Sector03@users.noreply.github.com> Date: Sun, 20 Jun 2021 02:08:57 -0400 Subject: [PATCH] result screen loop fix if result screen was turned off and played under freeplay it would load up the playstate again instead of sending the player directly back to the freeplay menu --- source/PlayState.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/PlayState.hx b/source/PlayState.hx index 538a67a..29227ed 100644 --- a/source/PlayState.hx +++ b/source/PlayState.hx @@ -2697,7 +2697,7 @@ class PlayState extends MusicBeatState if (FlxG.save.data.scoreScreen) openSubState(new ResultsScreen()); else - FlxG.switchState(new PlayState()); + FlxG.switchState(new FreeplayState()); } } }