1
0
Fork 0

Fix #9908: Close company windows only after all its infrastructure is removed (#9912)

pull/8895/head
SamuXarick 2022-11-08 14:44:17 +00:00 committed by GitHub
parent d738cd235f
commit 60ccab3c52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -892,8 +892,6 @@ CommandCost CmdCompanyCtrl(DoCommandFlag flags, CompanyCtrlAction cca, CompanyID
if (!(flags & DC_EXEC)) return CommandCost();
/* Delete any open window of the company */
CloseCompanyWindows(c->index);
CompanyNewsInformation *cni = new CompanyNewsInformation(c);
/* Show the bankrupt news */