diff --git a/src/Components/Modules/GSC/ScriptError.cpp b/src/Components/Modules/GSC/ScriptError.cpp index 8619b0d5..381737aa 100644 --- a/src/Components/Modules/GSC/ScriptError.cpp +++ b/src/Components/Modules/GSC/ScriptError.cpp @@ -1,6 +1,8 @@ #include #include "ScriptError.hpp" +#define SCRIPT_ERROR_PATCH + using namespace Utils::String; namespace Components @@ -899,7 +901,7 @@ namespace Components ScriptError::ScriptError() { -#ifdef _DEBUG +#ifdef SCRIPT_ERROR_PATCH std::vector> patches; const auto p = [&patches](const std::size_t a, void* b) {