summaryrefslogtreecommitdiff
path: root/src/company_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/company_cmd.cpp')
-rw-r--r--src/company_cmd.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/company_cmd.cpp b/src/company_cmd.cpp
index 40a603916..b39bed5fc 100644
--- a/src/company_cmd.cpp
+++ b/src/company_cmd.cpp
@@ -896,6 +896,10 @@ CommandCost CmdCompanyCtrl(TileIndex tile, DoCommandFlag flags, uint32 p1, uint3
default: return CMD_ERROR;
}
+ InvalidateWindowClassesData(WC_GAME_OPTIONS);
+ InvalidateWindowClassesData(WC_AI_SETTINGS);
+ InvalidateWindowClassesData(WC_AI_LIST);
+
return CommandCost();
}