Add World parameter to Target.FromOrder.

This commit is contained in:
Paul Chote
2013-09-17 21:46:03 +12:00
parent b52cdd4b45
commit e4ea012b9e
9 changed files with 10 additions and 10 deletions

View File

@@ -64,7 +64,7 @@ namespace OpenRA.Mods.RA
});
a.CancelActivity();
a.QueueActivity(new FlyAttack(Target.FromOrder(order)));
a.QueueActivity(new FlyAttack(Target.FromOrder(self.World, order)));
a.Trait<ParaDrop>().SetLZ(order.TargetLocation);
var cargo = a.Trait<Cargo>();