Sliders change the preview palette and update client data; Need a better algorithm for picking color2

This commit is contained in:
Paul Chote
2010-07-16 23:34:42 +12:00
parent 4fb3f67a9d
commit c4442f07da
7 changed files with 63 additions and 19 deletions

View File

@@ -34,7 +34,7 @@ namespace OpenRA.Network
{
var client = Game.LobbyInfo.Clients.FirstOrDefault(c => c.Index == clientId);
if (client != null)
Game.AddChatLine(client.Color,
Game.AddChatLine(client.Color1,
client.Name, order.TargetString);
break;
}
@@ -49,7 +49,7 @@ namespace OpenRA.Network
client == Game.LocalClient || (client.Team == Game.LocalClient.Team && client.Team != 0);
if (isAlly)
Game.AddChatLine(client.Color, client.Name + " (Team)", order.TargetString);
Game.AddChatLine(client.Color1, client.Name + " (Team)", order.TargetString);
}
break;
}