Revert client colours to their preferred colours after the map is changed to a map which doesn't lock colours.

This commit is contained in:
Scott_NZ
2013-03-02 16:18:09 +13:00
parent 46f4685eec
commit 63467cd000
4 changed files with 8 additions and 3 deletions

View File

@@ -42,7 +42,9 @@ namespace OpenRA.Network
public class Client
{
public int Index;
public ColorRamp ColorRamp;
public ColorRamp PreferredColorRamp; // Color that the client normally uses from settings.yaml.
public ColorRamp ColorRamp; // Actual color that the client is using.
// Usually the same as PreferredColorRamp but can be different on maps with locked colors.
public string Country;
public int SpawnPoint;
public string Name;