Fix helicopters not taking off when their target got covered by shroud
This commit is contained in:
@@ -60,9 +60,9 @@ namespace OpenRA.Mods.Common.Activities
|
||||
{
|
||||
var newTarget = Target.FromCell(self.World, self.World.Map.CellContaining(target.CenterPosition));
|
||||
|
||||
self.CancelActivity();
|
||||
Cancel(self);
|
||||
self.SetTargetLine(newTarget, Color.Green);
|
||||
return ActivityUtils.SequenceActivities(new HeliFly(self, newTarget));
|
||||
return new HeliFly(self, newTarget);
|
||||
}
|
||||
|
||||
// If any AmmoPool is depleted and no weapon is valid against target, return to helipad to reload and then resume the activity
|
||||
|
||||
Reference in New Issue
Block a user