Rename Faction trait members
Rename Faction.Race to Faction.InternalName
This commit is contained in:
@@ -29,7 +29,7 @@ namespace OpenRA
|
||||
public MapPlayers(Ruleset rules, int playerCount)
|
||||
{
|
||||
var firstRace = rules.Actors["world"].Traits
|
||||
.WithInterface<FactionInfo>().First(f => f.Selectable).Race;
|
||||
.WithInterface<FactionInfo>().First(f => f.Selectable).InternalName;
|
||||
|
||||
Players = new Dictionary<string, PlayerReference>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user