mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Changed latest planned flight to desired game settings.
This commit is contained in:
parent
5b61cfe922
commit
dcbe12f1af
@ -931,7 +931,12 @@ class CoalitionMissionPlanner:
|
||||
]
|
||||
|
||||
start_time = start_time_generator(
|
||||
count=len(non_dca_packages), earliest=5, latest=90, margin=5
|
||||
count=len(non_dca_packages),
|
||||
earliest=5,
|
||||
latest=int(
|
||||
self.game.settings.desired_player_mission_duration.total_seconds() / 60
|
||||
),
|
||||
margin=5,
|
||||
)
|
||||
for package in self.ato.packages:
|
||||
tot = TotEstimator(package).earliest_tot()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user