summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaedhros <maedhros@openttd.org>2007-05-06 08:50:03 +0000
committermaedhros <maedhros@openttd.org>2007-05-06 08:50:03 +0000
commit755f2327d33a64e5195a7fa478fd0d49ad342782 (patch)
treed4cd31e63cf19622ba2ea8f515c9f61bb15498e0
parentc67f068a84a5060970e325ffd34ca20ce6f7144b (diff)
downloadopenttd-755f2327d33a64e5195a7fa478fd0d49ad342782.tar.xz
(svn r9792) -Fix (r9734): Pause on newgame should only apply to games, not the scenario editor.
-rw-r--r--src/genworld.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/genworld.cpp b/src/genworld.cpp
index e766df23f..22110432b 100644
--- a/src/genworld.cpp
+++ b/src/genworld.cpp
@@ -154,7 +154,7 @@ static void *_GenerateWorld(void *arg)
if (_network_dedicated) DEBUG(net, 0, "Map generated, starting game");
- if (_patches.pause_on_newgame) DoCommandP(0, 1, 0, NULL, CMD_PAUSE);
+ if (_patches.pause_on_newgame && _game_mode == GM_NORMAL) DoCommandP(0, 1, 0, NULL, CMD_PAUSE);
return NULL;
}