@@ -45,7 +45,7 @@ namespace OpenRA.Network
|
|||||||
var suffix = (player != null && player.WinState == WinState.Lost) ? " (Dead)" : "";
|
var suffix = (player != null && player.WinState == WinState.Lost) ? " (Dead)" : "";
|
||||||
suffix = client.IsObserver ? " (Spectator)" : suffix;
|
suffix = client.IsObserver ? " (Spectator)" : suffix;
|
||||||
|
|
||||||
if (orderManager.LocalClient != null && client != orderManager.LocalClient && client.Team == orderManager.LocalClient.Team)
|
if (orderManager.LocalClient != null && client != orderManager.LocalClient && client.Team > 0 && client.Team == orderManager.LocalClient.Team)
|
||||||
suffix += " (Ally)";
|
suffix += " (Ally)";
|
||||||
|
|
||||||
Game.AddChatLine(client.Color.RGB, client.Name + suffix, order.TargetString);
|
Game.AddChatLine(client.Color.RGB, client.Name + suffix, order.TargetString);
|
||||||
|
|||||||
Reference in New Issue
Block a user