Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenTTD/OpenTTD
/ Pause
Method
Pause
src/script/api/script_game.cpp:20–23 ·
view source on GitHub ↗
static */
Source
from the content-addressed store, hash-verified
18
#include
"../../safeguards.h"
19
20
/* static */ bool ScriptGame::Pause()
21
{
22
return ScriptObject::Command<CMD_PAUSE>::Do(PauseMode::GameScript, true);
23
}
24
25
/* static */ bool ScriptGame::Unpause()
26
{
Callers
1
Break
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected