From 6d16b576f4e5d50258614f33594ff79a608baca2 Mon Sep 17 00:00:00 2001 From: KadeDev Date: Tue, 9 Mar 2021 15:38:38 -0800 Subject: [PATCH] fixed reply softlock death --- source/GameOverSubstate.hx | 1 + source/PauseSubState.hx | 1 + 2 files changed, 2 insertions(+) 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()); } }