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 committed by Raffson
parent c11b4149a0
commit e25aac774f
No known key found for this signature in database
GPG Key ID: B0402B2C9B764D99
2 changed files with 2 additions and 1 deletions

View File

@ -224,6 +224,7 @@ BAI/ANTISHIP/DEAD/STRIKE/BARCAP/CAS/OCA/AIR-ASSAULT (main) missions
* **[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.
* **[Plugins]** Fixed Lua errors in Skynet plugin that would occur whenever one coalition had no IADS nodes.

View File

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