Handle TOT offsets for patrolling flight plans.

https://github.com/dcs-liberation/dcs_liberation/issues/3107
This commit is contained in:
Dan Albert 2023-07-23 11:06:35 -07:00
parent 5fd29d8c9d
commit d2152a259c
2 changed files with 2 additions and 1 deletions

View File

@ -18,6 +18,7 @@ Saves from 8.x are not compatible with 9.0.0.
* **[Data]** Fixed the class of the Samuel Chase so it can't be picked for a AAA or SHORAD site.
* **[Data]** Allow CH-47D, CH-53E and UH-60A to operate from carriers and LHAs.
* **[Data]** Added the F-15E's LANTIRN to the list of known targeting pods. Player F-15E flight with TGPs will now be assigned laser codes.
* **[Flight Planning]** Patrolling flight plans (CAS, CAP, refueling, etc) now handle TOT offsets.
* **[Mission Generation]** Restored previous AI behavior for anti-ship missions. A DCS update caused only a single aircraft in a flight to attack. The full flight will now attack like they used to.
* **[Mission Generation]** Fix generation of OCA Runway missions to allow LGBs to be used.
* **[New Game Wizard]** Factions are reset to default after clicking "Back" to Theater Configuration screen.

View File

@ -62,7 +62,7 @@ class PatrollingFlightPlan(StandardFlightPlan[LayoutT], UiZoneDisplay, ABC):
@property
def patrol_start_time(self) -> datetime:
return self.package.time_over_target
return self.tot
@property
def patrol_end_time(self) -> datetime: