Use Targets
This commit is contained in:
@@ -59,7 +59,7 @@ namespace OpenRA.Mods.RA
|
||||
w.Add(new FlashTarget(order.TargetActor));
|
||||
var line = self.traits.GetOrDefault<DrawLineToTarget>();
|
||||
if (line != null)
|
||||
line.SetTarget(self, order.TargetActor, Color.Yellow);
|
||||
line.SetTarget(self, Target.FromOrder(order), Color.Yellow);
|
||||
});
|
||||
|
||||
self.CancelActivity();
|
||||
|
||||
Reference in New Issue
Block a user