From 87ca233f20655613f9453a011553d3b306323b03 Mon Sep 17 00:00:00 2001 From: Raffson Date: Sat, 21 Sep 2024 22:24:40 +0200 Subject: [PATCH] Only pass air-defenses to IpSolver when creating package waypoints Aims to solve an issue where waypoints would completely disregard air defenses and overfly them due to interference from airbase threat ranges... --- game/ato/packagewaypoints.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/ato/packagewaypoints.py b/game/ato/packagewaypoints.py index ce350d09..1c4f84ea 100644 --- a/game/ato/packagewaypoints.py +++ b/game/ato/packagewaypoints.py @@ -38,7 +38,7 @@ class PackageWaypoints: dcs_to_shapely_point(origin.position), dcs_to_shapely_point(package.target.position), coalition.doctrine, - coalition.opponent.threat_zone.all, + coalition.opponent.threat_zone.air_defenses, ) ip_solver.set_debug_properties( waypoint_debug_directory() / "IP", coalition.game.theater.terrain