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
29fd094dd0
commit
c3ebabbe44
@ -1213,6 +1213,12 @@ class AircraftConflictGenerator:
|
||||
if not flight.client_count:
|
||||
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
|
||||
|
||||
def set_takeoff_time(self, waypoint: FlightWaypoint, package: Package,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user