Fix scripted paradrops.

This commit is contained in:
Paul Chote
2014-07-19 11:57:01 +12:00
parent 54191039a9
commit 87e425042f

View File

@@ -57,7 +57,9 @@ namespace OpenRA.Mods.RA.Scripting
public void Paradrop(CPos cell)
{
paradrop.SetLZ(cell, true);
self.QueueActivity(new FlyAttack(Target.FromCell(self.World, cell)));
self.QueueActivity(new Fly(self, Target.FromCell(self.World, cell)));
self.QueueActivity(new FlyOffMap());
self.QueueActivity(new RemoveSelf());
}
}
}