Fix player color when a client is bumped to a spectator slot.

This commit is contained in:
Paul Chote
2019-07-22 22:41:13 +01:00
committed by abcdefg30
parent 4c3f2f3afa
commit c00b13a18e

View File

@@ -422,6 +422,8 @@ namespace OpenRA.Mods.Common.Server
} }
else if (c.Bot != null) else if (c.Bot != null)
server.LobbyInfo.Clients.Remove(c); server.LobbyInfo.Clients.Remove(c);
else
c.Color = Color.White;
} }
// Validate if color is allowed and get an alternative if it isn't // Validate if color is allowed and get an alternative if it isn't