mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Don't delay player flights with short delays.
Not much point in delaying humans 8 seconds. Fixes https://github.com/Khopa/dcs_liberation/issues/397
This commit is contained in:
parent
b7d160631a
commit
fa549fcf94
@ -1187,6 +1187,12 @@ class AircraftConflictGenerator:
|
|||||||
if not flight.client_count:
|
if not flight.client_count:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
if start_time < timedelta(minutes=10):
|
||||||
|
# Don't bother delaying client flights with short start delays. Much
|
||||||
|
# more than ten minutes starts to eat into fuel a bit more
|
||||||
|
# (espeicially for something fuel limited like a Harrier).
|
||||||
|
return False
|
||||||
|
|
||||||
return not self.settings.never_delay_player_flights
|
return not self.settings.never_delay_player_flights
|
||||||
|
|
||||||
def set_takeoff_time(self, waypoint: FlightWaypoint, package: Package,
|
def set_takeoff_time(self, waypoint: FlightWaypoint, package: Package,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user