Rename Faction trait members
Rename Faction.Race to Faction.InternalName
This commit is contained in:
@@ -456,9 +456,9 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
var flag = template.Get<ImageWidget>("FLAG");
|
||||
flag.GetImageCollection = () => "flags";
|
||||
if (player.World.RenderPlayer != null && player.World.RenderPlayer.Stances[player] != Stance.Ally)
|
||||
flag.GetImageName = () => player.DisplayCountry.Race;
|
||||
flag.GetImageName = () => player.DisplayCountry.InternalName;
|
||||
else
|
||||
flag.GetImageName = () => player.Country.Race;
|
||||
flag.GetImageName = () => player.Country.InternalName;
|
||||
|
||||
var playerName = template.Get<LabelWidget>("PLAYER");
|
||||
var client = player.World.LobbyInfo.ClientWithIndex(player.ClientIndex);
|
||||
|
||||
Reference in New Issue
Block a user