(svn r9792) -Fix (r9734): Pause on newgame should only apply to games, not the scenario editor.
authormaedhros
Sun, 06 May 2007 08:50:03 +0000
changeset 7074 6f2cd474620c
parent 7073 72dc5a55e16b
child 7075 7d7fa1ff2b18
(svn r9792) -Fix (r9734): Pause on newgame should only apply to games, not the scenario editor.
src/genworld.cpp
--- a/src/genworld.cpp	Sat May 05 23:21:49 2007 +0000
+++ b/src/genworld.cpp	Sun May 06 08:50:03 2007 +0000
@@ -154,7 +154,7 @@
 
 	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;
 }