Fix scheduling issue for recovery tankers

This commit is contained in:
Raffson 2024-12-23 22:54:43 +01:00
parent db9cf441fb
commit f1dc431d2f
No known key found for this signature in database
GPG Key ID: B0402B2C9B764D99
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ class CustomFlightPlan(FlightPlan[CustomLayout]):
else self.layout.departure
)
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]):

View File

@ -93,4 +93,4 @@ class StandardFlightPlan(FlightPlan[LayoutT], ABC):
return_time = self.total_time_between_waypoints(
self.tot_waypoint, self.layout.arrival
)
return self.tot + return_time
return self.mission_departure_time + return_time