mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +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
62a40db9ea
commit
d205e66fe4
@ -172,9 +172,11 @@ class QTopPanel(QFrame):
|
||||
if not package.flights:
|
||||
continue
|
||||
for flight in package.flights:
|
||||
if flight.flight_plan.startup_time().total_seconds() < 0:
|
||||
packages.append(package)
|
||||
break
|
||||
if flight.state.is_waiting_for_start:
|
||||
startup = flight.flight_plan.startup_time()
|
||||
if startup < 0:
|
||||
packages.append(package)
|
||||
break
|
||||
return packages
|
||||
|
||||
@staticmethod
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user