From 652a2c0eadb9f50ebd1df9497b04835a8233a623 Mon Sep 17 00:00:00 2001 From: Cameron Taylor Date: Mon, 6 Dec 2021 21:36:44 -0500 Subject: [PATCH] funny optimize --- source/PauseSubState.hx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/PauseSubState.hx b/source/PauseSubState.hx index bda8be818..f2ee9c60f 100644 --- a/source/PauseSubState.hx +++ b/source/PauseSubState.hx @@ -161,7 +161,9 @@ class PauseSubState extends MusicBeatSubstate PlayState.storyDifficulty = curSelected; - FlxG.resetState(); + PlayState.needsReset = true; + + close(); case 'Toggle Practice Mode': PlayState.practiceMode = !PlayState.practiceMode;