mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Fix scheduling issue for recovery tankers
This commit is contained in:
parent
db9cf441fb
commit
f1dc431d2f
@ -68,7 +68,7 @@ class CustomFlightPlan(FlightPlan[CustomLayout]):
|
|||||||
else self.layout.departure
|
else self.layout.departure
|
||||||
)
|
)
|
||||||
return_time = self.total_time_between_waypoints(self.tot_waypoint, arrival)
|
return_time = self.total_time_between_waypoints(self.tot_waypoint, arrival)
|
||||||
return self.tot + return_time
|
return self.mission_departure_time + return_time
|
||||||
|
|
||||||
|
|
||||||
class Builder(IBuilder[CustomFlightPlan, CustomLayout]):
|
class Builder(IBuilder[CustomFlightPlan, CustomLayout]):
|
||||||
|
|||||||
@ -93,4 +93,4 @@ class StandardFlightPlan(FlightPlan[LayoutT], ABC):
|
|||||||
return_time = self.total_time_between_waypoints(
|
return_time = self.total_time_between_waypoints(
|
||||||
self.tot_waypoint, self.layout.arrival
|
self.tot_waypoint, self.layout.arrival
|
||||||
)
|
)
|
||||||
return self.tot + return_time
|
return self.mission_departure_time + return_time
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user