From 8d485d5fa2aa81baf3f30ae66b5a666c0cd19f0e Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Wed, 18 Nov 2020 19:33:54 -0800 Subject: [PATCH] Delay player CV flight when their settings say so. Fixes https://github.com/Khopa/dcs_liberation/issues/375 This also fixes a problem where we're spawning non-cold start planes in an uncontrolled state. The ME won't let us do this, so we probably shouldn't be doing that. --- gen/aircraft.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/gen/aircraft.py b/gen/aircraft.py index a25d56f0..f17caea4 100644 --- a/gen/aircraft.py +++ b/gen/aircraft.py @@ -1219,15 +1219,6 @@ class AircraftConflictGenerator: @staticmethod def should_activate_late(flight: Flight) -> bool: - if flight.client_count: - # Never delay players. Note that cold start player flights with - # AI members will still be marked as uncontrolled until the start - # trigger fires to postpone engine start. - # - # Player flights that start on the runway or in the air will start - # immediately, and AI flight members will not be delayed. - return False - if flight.start_type != "Cold": # Avoid spawning aircraft in the air or on the runway until it's # time for their mission. Also avoid burning through gas spawning