mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Remove 'initial' wpt from STRIKE
This commit is contained in:
parent
5ffb8cbd96
commit
ae561e5564
@ -189,14 +189,6 @@ class FormationAttackBuilder(IBuilder[FlightPlanT, LayoutT], ABC):
|
|||||||
ingress = builder.ingress(
|
ingress = builder.ingress(
|
||||||
ingress_type, self.package.waypoints.ingress, self.package.target
|
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(
|
return FormationAttackLayout(
|
||||||
departure=builder.takeoff(self.flight.departure),
|
departure=builder.takeoff(self.flight.departure),
|
||||||
@ -206,7 +198,6 @@ class FormationAttackBuilder(IBuilder[FlightPlanT, LayoutT], ABC):
|
|||||||
),
|
),
|
||||||
join=join,
|
join=join,
|
||||||
ingress=ingress,
|
ingress=ingress,
|
||||||
initial=initial,
|
|
||||||
targets=target_waypoints,
|
targets=target_waypoints,
|
||||||
split=split,
|
split=split,
|
||||||
refuel=refuel,
|
refuel=refuel,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user