|
@@ -124,7 +124,8 @@ class Node:
|
|
|
if flownDistance >= self.PredictedDistanceToIAF:
|
|
|
flightTimeOnStarSeconds += 10
|
|
|
if flownDistance >= trackmiles:
|
|
|
- self.updateArrivalWaypoint(arrivalRoute, flightTimeSeconds, currentPosition[0], currentIAS, currentPosition[1])
|
|
|
+ if None == arrivalRoute[-1].FlightTime:
|
|
|
+ self.updateArrivalWaypoint(arrivalRoute, flightTimeSeconds, currentPosition[0], currentIAS, currentPosition[1])
|
|
|
break
|
|
|
|
|
|
# check if we follow a new waypoint pair
|