mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-05-10 04:27:10 +03:00
Made Unpause() more explicit
This commit is contained in:
parent
c0c6598151
commit
d09459f4bf
1 changed files with 2 additions and 1 deletions
|
@ -1057,7 +1057,8 @@ void ScriptMaster::Pause()
|
||||||
|
|
||||||
void ScriptMaster::Unpause()
|
void ScriptMaster::Unpause()
|
||||||
{
|
{
|
||||||
if (iPaused-- == 1) {
|
iPaused--;
|
||||||
|
if (iPaused == 0) {
|
||||||
ExecuteRunning();
|
ExecuteRunning();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue