mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +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
cb5783e360
commit
5de94843ea
@ -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