Rename Faction trait members
Rename Faction.Race to Faction.InternalName
This commit is contained in:
@@ -40,7 +40,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
{
|
||||
this.info = info;
|
||||
var raceList = info.Races;
|
||||
correctRace = raceList.Length == 0 || raceList.Contains(self.Owner.Country.Race);
|
||||
correctRace = raceList.Length == 0 || raceList.Contains(self.Owner.Country.InternalName);
|
||||
}
|
||||
|
||||
public void Selling(Actor self) { }
|
||||
|
||||
Reference in New Issue
Block a user