mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Fix mistake in join point placement.
This looks like it was just a typo. We want to join as late as possible to allow flights coming from other airfields to take the best route to the target that is safe, rather than joining as early as possible, which isn't useful since pre-join and post-split are supposed to be safe areas anyway.
This commit is contained in:
parent
cc5c625a99
commit
db4672f4af
@ -100,5 +100,5 @@ class JoinZoneGeometry:
|
||||
if self.preferred_lines.is_empty:
|
||||
join, _ = shapely.ops.nearest_points(self.permissible_zones, self.ip)
|
||||
else:
|
||||
join, _ = shapely.ops.nearest_points(self.preferred_lines, self.home)
|
||||
join, _ = shapely.ops.nearest_points(self.preferred_lines, self.ip)
|
||||
return self._target.new_in_same_map(join.x, join.y)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user