Bugfixes
This commit is contained in:
parent
a967d57c32
commit
42d617e8a2
2 changed files with 2 additions and 2 deletions
|
@ -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") {
|
||||
|
|
|
@ -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")) {
|
||||
|
|
Loading…
Reference in a new issue