From c00b13a18ee8bbd70832db73ce036599ccad16e2 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Mon, 22 Jul 2019 22:41:13 +0100 Subject: [PATCH] Fix player color when a client is bumped to a spectator slot. --- OpenRA.Mods.Common/ServerTraits/LobbyCommands.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OpenRA.Mods.Common/ServerTraits/LobbyCommands.cs b/OpenRA.Mods.Common/ServerTraits/LobbyCommands.cs index 07d52d6f15..953e8c54ef 100644 --- a/OpenRA.Mods.Common/ServerTraits/LobbyCommands.cs +++ b/OpenRA.Mods.Common/ServerTraits/LobbyCommands.cs @@ -422,6 +422,8 @@ namespace OpenRA.Mods.Common.Server } else if (c.Bot != null) server.LobbyInfo.Clients.Remove(c); + else + c.Color = Color.White; } // Validate if color is allowed and get an alternative if it isn't