1
0
Fork 0
This commit is contained in:
Jonathan Redpath 2022-05-13 15:41:46 +01:00
parent e6e0679a81
commit be32f89d7d
2 changed files with 1 additions and 2 deletions

View file

@ -215,7 +215,7 @@ var flightPlanController = {
autoSequencing: func() {
if (!me.active.getBoolValue()) { return; }
if (pts.Sim.Pause.getBoolValue()) { return; }
if (pts.Sim.pause.getBoolValue()) { return; }
me.calculateTimeAltitudeOnSequence();

View file

@ -83,7 +83,6 @@ var dirTo = {
var dirToLeftIndex = 0;
me.vector = [];
for (var i = 1 + (me.scroll); i < size(canvas_mcdu.myFpln[me.computer].planList) - 2; i = i + 1) {
debug.dump(canvas_mcdu.myFpln[me.computer].planList[i].wp);
if (canvas_mcdu.myFpln[me.computer].planList[i].wp == "PSEUDO" or canvas_mcdu.myFpln[me.computer].planList[i].wp == "STATIC" or canvas_mcdu.myFpln[me.computer].planList[i].wp.wp_name == "DISCONTINUITY" or canvas_mcdu.myFpln[me.computer].planList[i].wp.wp_name == "VECTORS" or canvas_mcdu.myFpln[me.computer].planList[i].wp.wp_name == "T-P" or canvas_mcdu.myFpln[me.computer].planList[i].wp.wp_type == "hdgToAlt") { continue; }
if (canvas_mcdu.myFpln[me.computer].planList[i].index > fmgc.flightPlanController.arrivalIndex[2]) { continue; }
append(me.vector, canvas_mcdu.myFpln[me.computer].planList[i].wp);