1
0
Fork 0

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

pull/13862/head
Peter Nelson 2025-03-25 17:58:59 +00:00 committed by GitHub
parent 9f94cadd68
commit 93016b9a92
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

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};