diff options
author | maedhros <maedhros@openttd.org> | 2007-05-06 08:50:03 +0000 |
---|---|---|
committer | maedhros <maedhros@openttd.org> | 2007-05-06 08:50:03 +0000 |
commit | b81a390d47da6aab1fa374e72d7f68684ba82061 (patch) | |
tree | d4cd31e63cf19622ba2ea8f515c9f61bb15498e0 /src | |
parent | 41bbc5c990ffc57cebe6d0f928527ed7fddfa9e9 (diff) | |
download | openttd-b81a390d47da6aab1fa374e72d7f68684ba82061.tar.xz |
(svn r9792) -Fix (r9734): Pause on newgame should only apply to games, not the scenario editor.
Diffstat (limited to 'src')
-rw-r--r-- | src/genworld.cpp | 2 |
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; } |