mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Show ASAP TOT for debug view flights.
This commit is contained in:
parent
81af5d7497
commit
8c1ebfda02
@ -57,6 +57,7 @@ from gen.flights.flightplan import (
|
||||
FlightPlanBuilder,
|
||||
InvalidObjectiveLocation,
|
||||
)
|
||||
from gen.flights.traveltime import TotEstimator
|
||||
from qt_ui.displayoptions import DisplayOptions, ThreatZoneOptions
|
||||
from qt_ui.models import GameModel
|
||||
from qt_ui.widgets.map.QFrontLine import QFrontLine
|
||||
@ -460,6 +461,7 @@ class QLiberationMap(QGraphicsView):
|
||||
except InvalidObjectiveLocation:
|
||||
return
|
||||
|
||||
package.time_over_target = TotEstimator(package).earliest_tot()
|
||||
self.draw_flight_plan(scene, flight, selected=True)
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user