mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Fix negative starts when changing TOT offsets.
This commit is contained in:
parent
091d523516
commit
c11b4149a0
@ -230,6 +230,7 @@ BAI/ANTISHIP/DEAD/STRIKE/BARCAP/CAS/OCA/AIR-ASSAULT (main) missions
|
||||
* **[UI]** Fixed deleting waypoints in custom flight plans deleting the wrong waypoint.
|
||||
* **[UI]** Fixed flight properties UI to support F-15E S4+ laser codes.
|
||||
* **[UI]** Fixed UI bug where altering an "ahead of package" TOT offset would change the offset back to a "behind pacakge" offset.
|
||||
* **[UI]** Fixed bug where changing TOT offsets could result in flight startup times that are in the past.
|
||||
|
||||
# 8.1.0
|
||||
|
||||
|
||||
@ -128,8 +128,10 @@ class FlightPlanPropertiesGroup(QGroupBox):
|
||||
if self.negative_offset_checkbox.isChecked():
|
||||
offset = -offset
|
||||
self.flight.flight_plan.tot_offset = offset
|
||||
self.package_model.update_tot()
|
||||
self.update_departure_time()
|
||||
|
||||
def toggle_negative_offset(self) -> None:
|
||||
self.flight.flight_plan.tot_offset = -self.flight.flight_plan.tot_offset
|
||||
self.package_model.update_tot()
|
||||
self.update_departure_time()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user