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,10 +138,11 @@ class QTopPanel(QFrame):
|
||||
if not package.flights:
|
||||
continue
|
||||
for flight in package.flights:
|
||||
startup = flight.flight_plan.startup_time()
|
||||
if startup < now:
|
||||
packages.append(package)
|
||||
break
|
||||
if flight.state.is_waiting_for_start:
|
||||
startup = flight.flight_plan.startup_time()
|
||||
if startup < now:
|
||||
packages.append(package)
|
||||
break
|
||||
return packages
|
||||
|
||||
@staticmethod
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user