do not overwrite the last waypoint if it is already set up
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user