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
This commit is contained in:
Dan Albert 2021-11-06 16:40:09 -07:00
parent 7a18d160c8
commit e6fc817f49

View File

@ -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.