Fix cases where departures board data was not invalidated
This commit is contained in:
@@ -916,6 +916,8 @@ CommandCost CmdCompanyCtrl(TileIndex tile, DoCommandFlag flags, uint32 p1, uint3
|
||||
|
||||
if (StoryPage::GetNumItems() == 0 || Goal::GetNumItems() == 0) InvalidateWindowData(WC_MAIN_TOOLBAR, 0);
|
||||
|
||||
InvalidateWindowClassesData(WC_DEPARTURES_BOARD, 0);
|
||||
|
||||
extern void CheckCaches(bool force_check, std::function<void(const char *)> log);
|
||||
CheckCaches(true, nullptr);
|
||||
break;
|
||||
|
Reference in New Issue
Block a user