diff --git a/source/GameOverSubstate.hx b/source/GameOverSubstate.hx index 1d672db..1a2752e 100644 --- a/source/GameOverSubstate.hx +++ b/source/GameOverSubstate.hx @@ -68,6 +68,7 @@ class GameOverSubstate extends MusicBeatSubstate FlxG.switchState(new StoryMenuState()); else FlxG.switchState(new FreeplayState()); + PlayState.loadRep = false; } if (bf.animation.curAnim.name == 'firstDeath' && bf.animation.curAnim.curFrame == 12) diff --git a/source/PauseSubState.hx b/source/PauseSubState.hx index 2e36eda..11df85a 100644 --- a/source/PauseSubState.hx +++ b/source/PauseSubState.hx @@ -108,6 +108,7 @@ class PauseSubState extends MusicBeatSubstate case "Restart Song": FlxG.resetState(); case "Exit to menu": + PlayState.loadRep = false; FlxG.switchState(new MainMenuState()); } }