Disable altitude restriction for DEAD

This is automatically being set by pydcs as soon as you set the altitude
This commit is contained in:
Raffson 2023-03-18 18:29:23 +01:00
parent ae24b5e1ea
commit 23038671b3
No known key found for this signature in database
GPG Key ID: B0402B2C9B764D99

View File

@ -44,6 +44,7 @@ class DeadIngressBuilder(PydcsWaypointBuilder):
direction=math.radians(dir),
altitude=round(self.flight.coalition.doctrine.ingress_altitude.meters),
)
task.params["altitudeEnabled"] = False
waypoint.tasks.append(task)
# Preemptively use ECM to better avoid getting swatted.