mirror of https://github.com/OpenTTD/OpenTTD
(svn r9792) -Fix (r9734): Pause on newgame should only apply to games, not the scenario editor.
parent
41bbc5c990
commit
b81a390d47
|
@ -154,7 +154,7 @@ static void *_GenerateWorld(void *arg)
|
||||||
|
|
||||||
if (_network_dedicated) DEBUG(net, 0, "Map generated, starting game");
|
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;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue