From ebee0591311610edad0c3ea79c834e82d9fa267e Mon Sep 17 00:00:00 2001 From: "[-=KILL MAN=-]" Date: Sat, 6 Apr 2024 09:26:04 +0300 Subject: [PATCH] ScriptDebugger is off by default --- main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index c2fba97..e2f73c3 100644 --- a/main.cpp +++ b/main.cpp @@ -88,7 +88,7 @@ extern unsigned char cleoData[100160]; // CLEO crashlogging #define SCRIPTS_LOG_COUNT 32 -bool scriptDebugger = true; +bool scriptDebugger = false; void *lastScriptHandle[SCRIPTS_LOG_COUNT] = { NULL }; uint8_t *lastScriptPC[SCRIPTS_LOG_COUNT] = { NULL }; uint16_t lastScriptOp[SCRIPTS_LOG_COUNT] = { 0x0000 }; @@ -245,6 +245,7 @@ extern "C" void OnModPreLoad() pCfgCLEOMenuColor = cfg->Bind("CLEO_MenuColor", "55 127 175 150"); pCfgCLEOMenuArrowColor = cfg->Bind("CLEO_MenuArrowColor", "55 127 175 100"); pCfgCLEOMenuArrowPressedAlpha = cfg->Bind("CLEO_MenuArrowPressedAlpha", "180"); + scriptDebugger = cfg->GetBool("ScriptDebugger", scriptDebugger); pCLEO = dlopen("libcleo.so", RTLD_LAZY); if(!pCLEO)