forked from mirror/OpenTTD
(svn r9734) -Feature: Add an option to automatically pause when starting a new game.
This commit is contained in:
@@ -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 @@ 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);
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user