diff options
Diffstat (limited to 'src/script/api/script_game.cpp')
-rw-r--r-- | src/script/api/script_game.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script/api/script_game.cpp b/src/script/api/script_game.cpp index 9b40a1cd3..3df6aef15 100644 --- a/src/script/api/script_game.cpp +++ b/src/script/api/script_game.cpp @@ -18,12 +18,12 @@ /* static */ bool ScriptGame::Pause() { - return ScriptObject::Command<CMD_PAUSE>::Do(0, PM_PAUSED_GAME_SCRIPT, 1, {}); + return ScriptObject::Command<CMD_PAUSE>::Do(PM_PAUSED_GAME_SCRIPT, true); } /* static */ bool ScriptGame::Unpause() { - return ScriptObject::Command<CMD_PAUSE>::Do(0, PM_PAUSED_GAME_SCRIPT, 0, {}); + return ScriptObject::Command<CMD_PAUSE>::Do(PM_PAUSED_GAME_SCRIPT, false); } /* static */ bool ScriptGame::IsPaused() |