Made Unpause() more explicit

This commit is contained in:
smallmodel 2023-10-31 23:24:11 +01:00
parent c0c6598151
commit d09459f4bf
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512

View file

@ -1057,7 +1057,8 @@ void ScriptMaster::Pause()
void ScriptMaster::Unpause() void ScriptMaster::Unpause()
{ {
if (iPaused-- == 1) { iPaused--;
if (iPaused == 0) {
ExecuteRunning(); ExecuteRunning();
} }
} }