script fix

This commit is contained in:
Nikolay Korolev 2020-05-19 00:10:45 +03:00 committed by GitHub
parent 746f2aa479
commit c47292b518
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -759,6 +759,7 @@ int8 CRunningScript::ProcessCommands0To99(int32 command)
case COMMAND_WAIT:
CollectParameters(&m_nIp, 1);
m_nWakeTime = CTimer::GetTimeInMilliseconds() + ScriptParams[0];
m_bSkipWakeTime = false;
return 1;
case COMMAND_GOTO:
CollectParameters(&m_nIp, 1);