From 5928f29f112d689b1c51d12476d15b2cabfdd2a3 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 5f9c4068..9eccfb17 100644 --- a/gen/aircraft.py +++ b/gen/aircraft.py @@ -1245,15 +1245,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