Set altitude for assault waypoint if Hercules

This commit is contained in:
Raffson 2023-01-02 18:58:45 +01:00
parent cb8f2619f2
commit df642fe7a1
No known key found for this signature in database
GPG Key ID: B0402B2C9B764D99

View File

@ -121,6 +121,7 @@ class Builder(IBuilder[AirAssaultFlightPlan, AirAssaultLayout]):
heading = self.package.target.position.heading_between_point(pickup_position)
if self.flight.is_hercules:
assault_area.only_for_player = False
assault_area.alt = feet(1000)
# TODO we can not gurantee a safe LZ for DropOff. See comment above.
drop_off_zone = MissionTarget(