1
0
Fork 0

Disable block fuel recalculation

This commit is contained in:
Matthew Maring 2020-08-03 18:18:44 -04:00
parent 0f8d8596f8
commit a21e107881

View file

@ -330,9 +330,9 @@ updateRouteManagerAlt = func() {
var updateFuel = func { var updateFuel = func {
# Check engine status # Check engine status
if (num(getprop("/engines/engine[0]/n1-actual")) > 0 or num(getprop("/engines/engine[1]/n1-actual")) > 0) { # if (num(getprop("/engines/engine[0]/n1-actual")) > 0 or num(getprop("/engines/engine[1]/n1-actual")) > 0) {
FMGCInternal.block = sprintf("%3.1f", math.round(getprop("/consumables/fuel/total-fuel-lbs") / 1000, 0.1)); # FMGCInternal.block = sprintf("%3.1f", math.round(getprop("/consumables/fuel/total-fuel-lbs") / 1000, 0.1));
} # }
# Calculate (final) holding fuel # Calculate (final) holding fuel
if (FMGCInternal.finalFuelSet) { if (FMGCInternal.finalFuelSet) {