Fix player color when a client is bumped to a spectator slot.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user