summaryrefslogtreecommitdiff
path: root/src/game/game_core.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-04-09 12:35:01 +0000
committerfrosch <frosch@openttd.org>2012-04-09 12:35:01 +0000
commitd7d89bc80610beae24ab24b7368f4c28e1ad1cda (patch)
tree373c6461df1c051390b18234330eea5c3412d9fc /src/game/game_core.cpp
parentc425368a17fa4e48b9aea187aaa96ddc9aaf7bf5 (diff)
downloadopenttd-d7d89bc80610beae24ab24b7368f4c28e1ad1cda.tar.xz
(svn r24108) -Fix [FS#5142]: When starting GS or AI, always use the settings of the game, not the new-game settings.
Diffstat (limited to 'src/game/game_core.cpp')
-rw-r--r--src/game/game_core.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/game_core.cpp b/src/game/game_core.cpp
index add5c7fd8..c1892097f 100644
--- a/src/game/game_core.cpp
+++ b/src/game/game_core.cpp
@@ -72,7 +72,7 @@
/* Clients shouldn't start GameScripts */
if (_networking && !_network_server) return;
- GameConfig *config = GameConfig::GetConfig();
+ GameConfig *config = GameConfig::GetConfig(GameConfig::SSS_FORCE_GAME);
GameInfo *info = config->GetInfo();
if (info == NULL) return;