From e6e31fd2346155fff21567ba8c78b7fa6cb01a37 Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Tue, 25 May 2021 14:23:00 -0700 Subject: [PATCH] Actually ASAP the ASAP packages. Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1117 --- gen/flights/ai_flight_planner.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gen/flights/ai_flight_planner.py b/gen/flights/ai_flight_planner.py index 726381f9..c37bec94 100644 --- a/gen/flights/ai_flight_planner.py +++ b/gen/flights/ai_flight_planner.py @@ -982,7 +982,9 @@ class CoalitionMissionPlanner: logging.error(f"Could not determine mission end time for {package}") continue previous_cap_end_time[package.target] = departure_time - elif not package.auto_asap: + elif package.auto_asap: + package.set_tot_asap() + else: # But other packages should be spread out a bit. Note that take # times are delayed, but all aircraft will become active at # mission start. This makes it more worthwhile to attack enemy