Fix placement of fallback split points.

Using the target placed the split in the threatened area.
This commit is contained in:
Dan Albert 2021-07-13 20:07:42 -07:00
parent 415b8c6317
commit 076df7cf66

View File

@ -998,7 +998,7 @@ class FlightPlanBuilder:
ingress_point = self._ingress_point(self._target_heading_to_package_airfield())
join_point = self._rendezvous_point(ingress_point)
split_point = self._rendezvous_point(self.package.target.position)
split_point = self._rendezvous_point(ingress_point)
self.package.waypoints = PackageWaypoints(
join_point,
ingress_point,