From 5bffc704f9c5fd465ca196f2986683b1de9fadfb Mon Sep 17 00:00:00 2001 From: peter1138 Date: Tue, 5 Feb 2013 21:41:32 +0000 Subject: (svn r24974) -Fix [FS#5279]: Honour pause_on_newgame setting when running as a dedicated server. --- src/openttd.cpp | 1 + 1 file changed, 1 insertion(+) 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; } -- cgit v1.2.3-54-g00ecf