From 630b1a3613f0723c424ddbc27a408edc92d167c1 Mon Sep 17 00:00:00 2001 From: TheBrokenRail Date: Sun, 5 Nov 2023 17:05:22 -0500 Subject: [PATCH] Fix Options Saving (Again) --- source/client/gui/screens/OptionsScreen.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/client/gui/screens/OptionsScreen.cpp b/source/client/gui/screens/OptionsScreen.cpp index 528cd78..a147b95 100644 --- a/source/client/gui/screens/OptionsScreen.cpp +++ b/source/client/gui/screens/OptionsScreen.cpp @@ -55,7 +55,9 @@ void OptionsScreen::render(int mouseX, int mouseY, float f) void OptionsScreen::removed() { - +#ifndef ORIGINAL_CODE + m_pMinecraft->saveOptions(); +#endif } void OptionsScreen::buttonClicked(Button* pButton)