Update UIScene_HelpAndOptionsMenu.cpp

BRING BACK DEBUG IN RELEASE
This commit is contained in:
Maskie! 2026-03-07 17:09:26 +01:00 committed by GitHub
parent 7c2869c5b9
commit 46a1d9e0ab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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