Fix engine changes not updating build template train windows

This commit is contained in:
Jonathan G Rennison
2022-11-27 20:22:28 +00:00
parent 5d171e0023
commit 2eecf19edb
5 changed files with 11 additions and 0 deletions

View File

@@ -2239,6 +2239,7 @@ bool ReadLanguagePack(const LanguageMetadata *lang)
BuildIndustriesLegend();
BuildContentTypeStringList();
InvalidateWindowClassesData(WC_BUILD_VEHICLE); // Build vehicle window.
InvalidateWindowClassesData(WC_BUILD_VIRTUAL_TRAIN);// Build template trains window.
InvalidateWindowClassesData(WC_TRAINS_LIST); // Train group window.
InvalidateWindowClassesData(WC_TRACE_RESTRICT_SLOTS);// Trace restrict slots window.
InvalidateWindowClassesData(WC_ROADVEH_LIST); // Road vehicle group window.