1
0
Fork 0

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

pull/13890/head
Peter Nelson 2025-03-25 17:17:17 +00:00
parent 9f94cadd68
commit 40af31400c
No known key found for this signature in database
GPG Key ID: 8EF8F0A467DF75ED
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};