aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoki Rautio <lokirautio@gmail.com>2026-03-05 20:32:04 -0600
committerLoki Rautio <lokirautio@gmail.com>2026-03-05 20:32:04 -0600
commit090cc653cceaae9e1cd12b9911f4d9b6f1906f3f (patch)
tree502abd257b992a597030ebe79057cbe8101f0f55
parent0d95980dca3a21b6ae9c5bc26daf176d80ecede4 (diff)
Disable "Debug Settings" in Release builds
People keep breaking random stuff by using these settings, so turn them off for now in release builds. If folks can figure out how to compile a debug build locally, they can use em :)
-rw-r--r--Minecraft.Client/Common/Consoles_App.cpp4
-rw-r--r--Minecraft.Client/Common/UI/UIScene_HelpAndOptionsMenu.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/Minecraft.Client/Common/Consoles_App.cpp b/Minecraft.Client/Common/Consoles_App.cpp
index 00dedbe1..3aae68d2 100644
--- a/Minecraft.Client/Common/Consoles_App.cpp
+++ b/Minecraft.Client/Common/Consoles_App.cpp
@@ -2441,10 +2441,10 @@ void CMinecraftApp::ClearGameSettingsChangedFlag(int iPad)
///////////////////////////
//
-// Remove the debug settings in the content package build
+// Remove the debug settings in the release build
//
////////////////////////////
-#ifndef _DEBUG_MENUS_ENABLED
+#ifndef _DEBUG
unsigned int CMinecraftApp::GetGameSettingsDebugMask(int iPad,bool bOverridePlayer) //bOverridePlayer is to force the send for the server to get the read options
{
return 0;
diff --git a/Minecraft.Client/Common/UI/UIScene_HelpAndOptionsMenu.cpp b/Minecraft.Client/Common/UI/UIScene_HelpAndOptionsMenu.cpp
index a0d63172..d442553f 100644
--- a/Minecraft.Client/Common/UI/UIScene_HelpAndOptionsMenu.cpp
+++ b/Minecraft.Client/Common/UI/UIScene_HelpAndOptionsMenu.cpp
@@ -23,7 +23,7 @@ UIScene_HelpAndOptionsMenu::UIScene_HelpAndOptionsMenu(int iPad, void *initData,
// We don't have a reinstall content, so remove the button
removeControl( &m_buttons[BUTTON_HAO_REINSTALL], false );
-#ifdef _FINAL_BUILD
+#ifndef _DEBUG
removeControl( &m_buttons[BUTTON_HAO_DEBUG], false);
#else
if(!app.DebugSettingsOn()) removeControl( &m_buttons[BUTTON_HAO_DEBUG], false);