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/console_cmds.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/console_cmds.cpp')
-rw-r--r-- | src/console_cmds.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/console_cmds.cpp b/src/console_cmds.cpp index f29e315e0..56cc88edf 100644 --- a/src/console_cmds.cpp +++ b/src/console_cmds.cpp @@ -1157,6 +1157,7 @@ DEF_CONSOLE_CMD(ConRescanAI) return true; } + TarScanner::DoScan(); AI::Rescan(); InvalidateWindowData(WC_AI_LIST, 0, 1); @@ -1171,6 +1172,7 @@ DEF_CONSOLE_CMD(ConRescanNewGRF) return true; } + TarScanner::DoScan(); ScanNewGRFFiles(); InvalidateWindowData(WC_GAME_OPTIONS, 0, 1); |