Add missing target line to aircraft taking off from resupplying.

This commit is contained in:
tovl
2019-08-30 22:22:49 +02:00
committed by reaperrr
parent 145b6a05a3
commit 09cd56b367

View File

@@ -188,7 +188,7 @@ namespace OpenRA.Mods.Common.Activities
if (wasRepaired || isHostInvalid || (!stayOnResupplier && aircraft.Info.TakeOffOnResupply)) if (wasRepaired || isHostInvalid || (!stayOnResupplier && aircraft.Info.TakeOffOnResupply))
{ {
if (rp != null) if (rp != null)
QueueChild(move.MoveTo(rp.Location, repairableNear != null ? null : host.Actor)); QueueChild(move.MoveTo(rp.Location, repairableNear != null ? null : host.Actor, targetLineColor: Color.Green));
else else
QueueChild(new TakeOff(self)); QueueChild(new TakeOff(self));