src/genworld.cpp
changeset 6543 57dfb0d16b10
parent 6453 226bcddeba32
child 6578 acb703c8e52c
--- a/src/genworld.cpp	Sat Apr 28 10:41:00 2007 +0000
+++ b/src/genworld.cpp	Sat Apr 28 15:06:32 2007 +0000
@@ -10,6 +10,7 @@
 #include "table/sprites.h"
 #include "variables.h"
 #include "thread.h"
+#include "command.h"
 #include "genworld.h"
 #include "gfx.h"
 #include "gfxinit.h"
@@ -153,6 +154,8 @@
 
 	if (_network_dedicated) DEBUG(net, 0, "Map generated, starting game");
 
+	if (_patches.pause_on_newgame) DoCommandP(0, 1, 0, NULL, CMD_PAUSE);
+
 	return NULL;
 }