diff --git a/OpenRA.Mods.Common/Widgets/Logic/Lobby/SpawnSelectorTooltipLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/Lobby/SpawnSelectorTooltipLogic.cs index a928f19898..65407a6353 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/Lobby/SpawnSelectorTooltipLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/Lobby/SpawnSelectorTooltipLogic.cs @@ -51,7 +51,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic else { labelText = occupant.PlayerName; - playerCountry = occupant.Country; + playerCountry = occupant.Faction; playerTeam = occupant.Team; widget.Bounds.Height = playerTeam > 0 ? doubleHeight : singleHeight; teamWidth = teamFont.Measure(team.GetText()).X; diff --git a/OpenRA.Mods.Common/Widgets/MapPreviewWidget.cs b/OpenRA.Mods.Common/Widgets/MapPreviewWidget.cs index f7469b904e..8f6e3610a1 100644 --- a/OpenRA.Mods.Common/Widgets/MapPreviewWidget.cs +++ b/OpenRA.Mods.Common/Widgets/MapPreviewWidget.cs @@ -24,7 +24,7 @@ namespace OpenRA.Mods.Common.Widgets public readonly int ClientIndex; public readonly string PlayerName; public readonly int Team; - public readonly string Country; + public readonly string Faction; public readonly int SpawnPoint; public SpawnOccupant(Session.Client client) @@ -33,7 +33,7 @@ namespace OpenRA.Mods.Common.Widgets ClientIndex = client.Index; PlayerName = client.Name; Team = client.Team; - Country = client.Race; + Faction = client.Race; SpawnPoint = client.SpawnPoint; } @@ -43,7 +43,7 @@ namespace OpenRA.Mods.Common.Widgets ClientIndex = player.ClientIndex; PlayerName = player.Name; Team = player.Team; - Country = player.FactionId; + Faction = player.FactionId; SpawnPoint = player.SpawnPoint; } }