diff options
author | rubidium <rubidium@openttd.org> | 2010-11-18 22:27:15 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-11-18 22:27:15 +0000 |
commit | ed04bef953da730829770e98fc3a91649eeee23e (patch) | |
tree | 45451a9d1d0685e10c5ea6f0043f331489893416 /src/openttd.cpp | |
parent | f7b2a87292fdfec4bc695e4d962f9c6e17a14800 (diff) | |
download | openttd-ed04bef953da730829770e98fc3a91649eeee23e.tar.xz |
(svn r21248) -Codechange: don't run the tar scanner twice upon startup
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r-- | src/openttd.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp index e324eeba1..95309b23c 100644 --- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -202,6 +202,7 @@ static void ShowHelp() p = BlitterFactoryBase::GetBlittersInfo(p, lastof(buf)); /* We need to initialize the AI, so it finds the AIs */ + TarScanner::DoScan(); AI::Initialize(); p = AI::GetConsoleList(p, lastof(buf)); AI::Uninitialize(true); @@ -572,6 +573,7 @@ int ttd_main(int argc, char *argv[]) if (_dedicated_forks) DedicatedFork(); #endif + TarScanner::DoScan(); AI::Initialize(); LoadFromConfig(); AI::Uninitialize(true); |