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
This commit is contained in:
Sector03 2021-06-20 02:08:57 -04:00
parent 074e08650f
commit fc5f5f6218

View File

@ -2697,7 +2697,7 @@ class PlayState extends MusicBeatState
if (FlxG.save.data.scoreScreen) if (FlxG.save.data.scoreScreen)
openSubState(new ResultsScreen()); openSubState(new ResultsScreen());
else else
FlxG.switchState(new PlayState()); FlxG.switchState(new FreeplayState());
} }
} }
} }