Disable more debug features in Release build

This commit is contained in:
Loki Rautio
2026-03-06 16:46:06 -06:00
parent eeedbf08d3
commit f254af3d0c
2 changed files with 2 additions and 2 deletions

View File

@@ -121,7 +121,7 @@ void UIScene_HelpAndOptionsMenu::updateComponents()
void UIScene_HelpAndOptionsMenu::handleReload()
{
#ifdef _FINAL_BUILD
#ifndef _DEBUG // def _FINAL_BUILD // disable debug settings in release builds
removeControl( &m_buttons[BUTTON_HAO_DEBUG], false);
#else
if(!app.DebugSettingsOn()) removeControl( &m_buttons[BUTTON_HAO_DEBUG], false);