Rename BuildableInfo.ForceRace

This commit is contained in:
Pavel Penev
2015-07-31 04:52:42 +03:00
parent 720cb062b6
commit 10c5b82ef0
4 changed files with 7 additions and 7 deletions

View File

@@ -55,8 +55,8 @@ namespace OpenRA.Mods.Common.Traits
var target = Target.FromCell(self.World, exitLocation);
var bi = producee.Traits.GetOrDefault<BuildableInfo>();
if (bi != null && bi.ForceRace != null)
factionVariant = bi.ForceRace;
if (bi != null && bi.ForceFaction != null)
factionVariant = bi.ForceFaction;
self.World.AddFrameEndTask(w =>
{