From b7f9bfda4a88393b78f0f2e09489865413f69167 Mon Sep 17 00:00:00 2001 From: Nikolay Date: Sat, 9 Jan 2021 02:41:27 +0300 Subject: [PATCH] fail --- src/control/Script.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/control/Script.cpp b/src/control/Script.cpp index 23527e55..8cac88d6 100644 --- a/src/control/Script.cpp +++ b/src/control/Script.cpp @@ -3108,7 +3108,7 @@ int8 CRunningScript::ProcessCommands0To99(int32 command) CollectParameters(&m_nIp, 1); script_assert(ScriptParams[0] >= 0); CRunningScript* pNew = CTheScripts::StartNewScript(ScriptParams[0]); - m_bIsActive = true; + pNew->m_bIsActive = true; int8 type = CTheScripts::Read1ByteFromScript(&m_nIp); float tmp; for (int i = 0; type != ARGUMENT_END; type = CTheScripts::Read1ByteFromScript(&m_nIp), i++) {