mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Don't flag negative starts for active flights.
If the flight has already passed its start up time, this isn't a negative start.
This commit is contained in:
parent
aaf66107ad
commit
2f385086fd
@ -138,6 +138,7 @@ class QTopPanel(QFrame):
|
|||||||
if not package.flights:
|
if not package.flights:
|
||||||
continue
|
continue
|
||||||
for flight in package.flights:
|
for flight in package.flights:
|
||||||
|
if flight.state.is_waiting_for_start:
|
||||||
startup = flight.flight_plan.startup_time()
|
startup = flight.flight_plan.startup_time()
|
||||||
if startup < now:
|
if startup < now:
|
||||||
packages.append(package)
|
packages.append(package)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user