From 80edda6400d5b9db314bc04b95b85220966b4fa5 Mon Sep 17 00:00:00 2001 From: Parker Hawke Date: Mon, 31 Jul 2023 13:42:08 -0400 Subject: [PATCH] Fix options.txt overriding in-game changed settings at runtime --- source/GUI/Screen/OptionsScreen.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/GUI/Screen/OptionsScreen.cpp b/source/GUI/Screen/OptionsScreen.cpp index 1e1d436..ce0abb6 100644 --- a/source/GUI/Screen/OptionsScreen.cpp +++ b/source/GUI/Screen/OptionsScreen.cpp @@ -145,7 +145,9 @@ void OptionsScreen::render(int a, int b, float c) void OptionsScreen::removed() { +#ifdef ORIGINAL_CODE // Reloading options will reload the options.txt we introduced. Don't do this m_pMinecraft->reloadOptions(); +#endif } #ifndef ORIGINAL_CODE