Grant condition by unit stance

This commit is contained in:
atlimit8
2017-05-24 11:29:10 -05:00
committed by Paul Chote
parent 5834d7615b
commit cadfbe8a29
2 changed files with 46 additions and 7 deletions

View File

@@ -169,7 +169,7 @@ namespace OpenRA.Mods.Common.Scripting
if (!Enum<UnitStance>.TryParse(value, true, out stance))
throw new LuaException("Unknown stance type '{0}'".F(value));
autotarget.Stance = stance;
autotarget.SetStance(Self, stance);
}
}