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

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