1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-31 02:19:09 +00:00

Fix #13842: Close industry production graph if industry is removed. (#13890)

This commit is contained in:
2025-03-25 17:58:59 +00:00
committed by GitHub
parent 9f94cadd68
commit 93016b9a92

View File

@@ -195,6 +195,7 @@ Industry::~Industry()
DeleteIndustryNews(this->index);
CloseWindowById(WC_INDUSTRY_VIEW, this->index);
CloseWindowById(WC_INDUSTRY_PRODUCTION, this->index);
DeleteNewGRFInspectWindow(GSF_INDUSTRIES, this->index);
Source src{this->index, SourceType::Industry};