1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-15 08:22:34 +01:00

(svn r21250) -Fix [FS#3952]: Rescanning AIs didn't "forget" removed AIs

This commit is contained in:
rubidium
2010-11-18 23:31:06 +00:00
parent 40258d927f
commit 924a924907
4 changed files with 21 additions and 1 deletions

View File

@@ -1160,6 +1160,7 @@ DEF_CONSOLE_CMD(ConRescanAI)
TarScanner::DoScan();
AI::Rescan();
InvalidateWindowData(WC_AI_LIST, 0, 1);
SetWindowDirty(WC_AI_SETTINGS, 0);
return true;
}