mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-04 21:33:51 +00:00
(svn r6458) - Fix (r6457): ... but close the colour window if the company is removed. (Thanks Rubidium)
This commit is contained in:
parent
db883dc49c
commit
dc683f0fe5
@ -632,6 +632,7 @@ void PlayersYearlyLoop(void)
|
||||
void DeletePlayerWindows(PlayerID pi)
|
||||
{
|
||||
DeleteWindowById(WC_COMPANY, pi);
|
||||
DeleteWindowById(WC_PLAYER_COLOR, pi);
|
||||
DeleteWindowById(WC_FINANCES, pi);
|
||||
DeleteWindowById(WC_STATION_LIST, pi);
|
||||
DeleteWindowById(WC_TRAINS_LIST, (INVALID_STATION << 16) | pi);
|
||||
|
Loading…
Reference in New Issue
Block a user