mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-15 08:22:34 +01:00
(svn r21248) -Codechange: don't run the tar scanner twice upon startup
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user