(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 6578 acb703c8e52c
parent 6577 03c98094f41c
child 6579 3b1c0599dace
(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;
 }