Skip rally point if order is queued after resupply.
This commit is contained in:
@@ -187,7 +187,7 @@ namespace OpenRA.Mods.Common.Activities
|
||||
{
|
||||
if (wasRepaired || isHostInvalid || (!stayOnResupplier && aircraft.Info.TakeOffOnResupply))
|
||||
{
|
||||
if (rp != null)
|
||||
if (self.CurrentActivity.NextActivity == null && rp != null)
|
||||
QueueChild(move.MoveTo(rp.Location, repairableNear != null ? null : host.Actor, targetLineColor: Color.Green));
|
||||
else
|
||||
QueueChild(new TakeOff(self));
|
||||
|
||||
Reference in New Issue
Block a user