From 50b7ea0bb6bcd4b12910234d9dda6cfc2794c1fd Mon Sep 17 00:00:00 2001 From: Joalor64 Date: Wed, 27 Nov 2024 16:53:53 -0500 Subject: [PATCH] Update OptionsState.hx --- source/options/OptionsState.hx | 1 - 1 file changed, 1 deletion(-) diff --git a/source/options/OptionsState.hx b/source/options/OptionsState.hx index c4be6d6..dfeb080 100644 --- a/source/options/OptionsState.hx +++ b/source/options/OptionsState.hx @@ -71,7 +71,6 @@ class OptionsState extends ExtendableState { if (Input.justPressed('exit')) { if (fromPlayState) { - fromPlayState = false; ExtendableState.switchState(new PlayState()); if (FlxG.sound.music != null) FlxG.sound.music.stop();