Rename Player.DisplayCountry to Player.DisplayFaction
This commit is contained in:
@@ -456,7 +456,7 @@ 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.InternalName;
|
||||
flag.GetImageName = () => player.DisplayFaction.InternalName;
|
||||
else
|
||||
flag.GetImageName = () => player.Faction.InternalName;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user