Fix HeliFly lua bindings.

This commit is contained in:
Paul Chote
2014-01-31 13:33:34 +13:00
parent 697b50c149
commit fae9611d27
2 changed files with 8 additions and 2 deletions

View File

@@ -278,6 +278,12 @@ namespace OpenRA.Mods.RA.Scripting
actor.QueueActivity(new FlyAttack(Target.FromCell(location)));
}
[LuaGlobal]
public void HeliFlyToPos(Actor actor, WPos pos)
{
actor.QueueActivity(new HeliFly(actor, Target.FromPos(pos)));
}
[LuaGlobal]
public void SetUnitStance(Actor actor, string stance)
{