diff --git a/OpenRA.Mods.Common/Activities/Resupply.cs b/OpenRA.Mods.Common/Activities/Resupply.cs index 3ca128062b..03689e0002 100644 --- a/OpenRA.Mods.Common/Activities/Resupply.cs +++ b/OpenRA.Mods.Common/Activities/Resupply.cs @@ -212,7 +212,7 @@ namespace OpenRA.Mods.Common.Activities { if (self.CurrentActivity.NextActivity == null && rp != null && rp.Path.Count > 0) foreach (var cell in rp.Path) - QueueChild(move.MoveTo(cell, 1, ignoreActor: repairableNear != null ? null : host.Actor, targetLineColor: Color.Green)); + QueueChild(new AttackMoveActivity(self, () => move.MoveTo(cell, 1, ignoreActor: repairableNear != null ? null : host.Actor, targetLineColor: Color.OrangeRed))); else QueueChild(new TakeOff(self)); @@ -233,7 +233,7 @@ namespace OpenRA.Mods.Common.Activities { if (rp != null && rp.Path.Count > 0) foreach (var cell in rp.Path) - QueueChild(move.MoveTo(cell, 1, repairableNear != null ? null : host.Actor, true, Color.Green)); + QueueChild(new AttackMoveActivity(self, () => move.MoveTo(cell, 1, repairableNear != null ? null : host.Actor, true, Color.OrangeRed))); else if (repairableNear == null) QueueChild(move.MoveToTarget(self, host)); } diff --git a/OpenRA.Mods.Common/Traits/Buildings/Reservable.cs b/OpenRA.Mods.Common/Traits/Buildings/Reservable.cs index be4ff42d6a..2877450be2 100644 --- a/OpenRA.Mods.Common/Traits/Buildings/Reservable.cs +++ b/OpenRA.Mods.Common/Traits/Buildings/Reservable.cs @@ -86,7 +86,7 @@ namespace OpenRA.Mods.Common.Traits { if (rallyPoint != null && rallyPoint.Path.Count > 0) foreach (var cell in rallyPoint.Path) - reservedFor.QueueActivity(reservedForAircraft.MoveTo(cell, 1, targetLineColor: Color.Green)); + reservedFor.QueueActivity(new AttackMoveActivity(reservedFor, () => reservedForAircraft.MoveTo(cell, 1, targetLineColor: Color.OrangeRed))); else reservedFor.QueueActivity(new TakeOff(reservedFor)); }