public EmitInfantryOnSell(Actor self, EmitInfantryOnSellInfo info) { this.info = info; var factionsList = info.Factions; correctFaction = factionsList.Count == 0 || factionsList.Contains(self.Owner.Faction.InternalName); }
public EmitInfantryOnSell(Actor self, EmitInfantryOnSellInfo info) { this.info = info; var raceList = info.Races; correctRace = raceList.Length == 0 || raceList.Contains(self.Owner.Country.Race); }