summaryrefslogtreecommitdiff
path: root/src/openttd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r--src/openttd.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp
index be83d4e78..ffecade0a 100644
--- a/src/openttd.cpp
+++ b/src/openttd.cpp
@@ -889,6 +889,7 @@ static void MakeNewGameDone()
/* In a dedicated server, the server does not play */
if (!_video_driver->HasGUI()) {
SetLocalCompany(COMPANY_SPECTATOR);
+ if (_settings_client.gui.pause_on_newgame) DoCommandP(0, PM_PAUSED_NORMAL, 1, CMD_PAUSE);
IConsoleCmdExec("exec scripts/game_start.scr 0");
return;
}