Rename SpawnOccupant.Country

This commit is contained in:
Pavel Penev
2015-08-05 17:31:00 +03:00
parent 0325f803ab
commit 957af9ac5e
2 changed files with 4 additions and 4 deletions

View File

@@ -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;