Rename the Country trait to Faction

This commit is contained in:
penev92
2015-07-06 01:48:54 +03:00
parent b58d1037ea
commit a1af5386e0
7 changed files with 17 additions and 17 deletions

View File

@@ -30,7 +30,7 @@ namespace OpenRA.Mods.Common.Lint
sequenceDefinitions = MiniYaml.MergeLiberal(map.SequenceDefinitions,
Game.ModData.Manifest.Sequences.Select(s => MiniYaml.FromFile(s)).Aggregate(MiniYaml.MergeLiberal));
var races = map.Rules.Actors["world"].Traits.WithInterface<CountryInfo>().Select(c => c.Race);
var races = map.Rules.Actors["world"].Traits.WithInterface<FactionInfo>().Select(c => c.Race);
foreach (var actorInfo in map.Rules.Actors)
{