From e6fc817f49de13cbc76e7a0724d990f19a06dc8b Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Sat, 6 Nov 2021 16:40:09 -0700 Subject: [PATCH] Use uncontrolled for late shore starts. These should be uncontrolled rather than late activation so that they are present in the parking area as OCA targets. This bug was introduced as a mistranslation when I was moving from strings to StartType. Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1695 --- game/missiongenerator/aircraft/waypoints/waypointgenerator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/missiongenerator/aircraft/waypoints/waypointgenerator.py b/game/missiongenerator/aircraft/waypoints/waypointgenerator.py index 41ebb8cf..f731621d 100644 --- a/game/missiongenerator/aircraft/waypoints/waypointgenerator.py +++ b/game/missiongenerator/aircraft/waypoints/waypointgenerator.py @@ -247,7 +247,7 @@ class WaypointGenerator: return not self.settings.never_delay_player_flights def should_activate_late(self) -> bool: - if self.flight.start_type is StartType.COLD: + if self.flight.start_type is not StartType.COLD: # Avoid spawning aircraft in the air or on the runway until it's # time for their mission. Also avoid burning through gas spawning # hot aircraft hours before their takeoff time.