summaryrefslogtreecommitdiff
path: root/players.c
diff options
context:
space:
mode:
Diffstat (limited to 'players.c')
-rw-r--r--players.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/players.c b/players.c
index 308eb71bd..326a160c7 100644
--- a/players.c
+++ b/players.c
@@ -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);