CScriptTimer: Fix from decomp

This commit is contained in:
Henrique Gemignani Passos Lima 2022-10-18 18:17:01 +03:00
parent 132ee9e332
commit d23df787f9
No known key found for this signature in database
GPG Key ID: E224F951761145F8
1 changed files with 3 additions and 0 deletions

View File

@ -35,6 +35,9 @@ void CScriptTimer::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId objId, CS
StartTiming(true);
} else if (msg == EScriptObjectMessage::Reset) {
Reset(stateMgr);
if (x41_autoStart) {
StartTiming(true);
}
} else if (msg == EScriptObjectMessage::StopAndReset) {
Reset(stateMgr);
StartTiming(false);