1
0
Fork 0
This commit is contained in:
legoboyvdlp R 2020-07-11 15:04:12 +01:00
parent a967d57c32
commit 42d617e8a2
2 changed files with 2 additions and 2 deletions

View file

@ -222,7 +222,7 @@ var fuelPredInput = func(key, i) {
mcdu_message(i, "USING COST INDEX N", getprop("/FMGC/internal/last-cost-index") or 0);
fmgc.FMGCInternal.costIndexSet = 1;
fmgc.FMGCInternal.costIndex = getprop("/FMGC/internal/last-cost-index") or 0;
fmgc.FMGCNodes.setValue(fmgc.FMGCInternal.costIndex);
fmgc.FMGCNodes.costIndex.setValue(fmgc.FMGCInternal.costIndex);
}
}
} else if (key == "R4") {

View file

@ -237,7 +237,7 @@ var initInputB = func(key, i) {
mcdu_message(i, "USING COST INDEX N", getprop("/FMGC/internal/last-cost-index") or 0);
fmgc.FMGCInternal.costIndexSet = 1;
fmgc.FMGCInternal.costIndex = getprop("/FMGC/internal/last-cost-index") or 0;
fmgc.FMGCNodes.setValue(fmgc.FMGCInternal.costIndex);
fmgc.FMGCNodes.costIndex.setValue(fmgc.FMGCInternal.costIndex);
}
}
} else if (key == "R2" and !getprop("/FMGC/internal/fuel-calculating")) {