diff --git a/Runtime/World/CScriptMazeNode.cpp b/Runtime/World/CScriptMazeNode.cpp index 470154ebd..daab0b10b 100644 --- a/Runtime/World/CScriptMazeNode.cpp +++ b/Runtime/World/CScriptMazeNode.cpp @@ -173,11 +173,13 @@ void CScriptMazeNode::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId uid, C sDebugCellPos[xe8_col + xec_row * skMazeCols] = GetTranslation() - zeus::CVector3f{1.1875f, -0.1215f, 1.2187f}; } #endif - } else if (msg == EScriptObjectMessage::Deleted) { - mgr.ClearCurrentMaze(); - Reset(mgr); } } + // URDE change: used to be in the above if branch + if (msg == EScriptObjectMessage::Deleted) { + mgr.ClearCurrentMaze(); + Reset(mgr); + } CActor::AcceptScriptMsg(msg, uid, mgr); }