From ae561e55640f84789fe3de4aec87b56938e58718 Mon Sep 17 00:00:00 2001 From: Raffson Date: Fri, 2 Dec 2022 15:03:20 +0100 Subject: [PATCH] Remove 'initial' wpt from STRIKE --- game/ato/flightplans/formationattack.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/game/ato/flightplans/formationattack.py b/game/ato/flightplans/formationattack.py index 773dc4c6..84d96d12 100644 --- a/game/ato/flightplans/formationattack.py +++ b/game/ato/flightplans/formationattack.py @@ -189,14 +189,6 @@ class FormationAttackBuilder(IBuilder[FlightPlanT, LayoutT], ABC): ingress = builder.ingress( ingress_type, self.package.waypoints.ingress, self.package.target ) - initial = None - if self.package.primary_task == FlightType.STRIKE: - ingress = builder.nav( - self.package.waypoints.ingress, self.doctrine.ingress_altitude - ) - initial = builder.ingress( - ingress_type, self.package.waypoints.initial, self.package.target - ) return FormationAttackLayout( departure=builder.takeoff(self.flight.departure), @@ -206,7 +198,6 @@ class FormationAttackBuilder(IBuilder[FlightPlanT, LayoutT], ABC): ), join=join, ingress=ingress, - initial=initial, targets=target_waypoints, split=split, refuel=refuel,