migrating most things to use the Target struct rather than Actor directly.
This commit is contained in:
@@ -23,7 +23,7 @@ namespace OpenRA.Mods.RA
|
||||
|
||||
protected override void QueueAttack(Actor self, Order order)
|
||||
{
|
||||
target = order.TargetActor;
|
||||
target = Target.FromActor(order.TargetActor);
|
||||
self.QueueActivity(new FlyAttack(order.TargetActor));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user