From a2088e58d9a12a1b582526fa2de0fd60a318d4bd Mon Sep 17 00:00:00 2001 From: Matthew Maring <56924612+hayden2000@users.noreply.github.com> Date: Fri, 31 Jul 2020 08:20:33 -0400 Subject: [PATCH] Alternate airport bugfix --- Models/Instruments/MCDU/MCDU.nas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Models/Instruments/MCDU/MCDU.nas b/Models/Instruments/MCDU/MCDU.nas index 6f1e490f..c19cdeb8 100644 --- a/Models/Instruments/MCDU/MCDU.nas +++ b/Models/Instruments/MCDU/MCDU.nas @@ -2335,7 +2335,7 @@ var canvas_MCDU_base = { me["Simple_C3"].setText(sprintf("/%.1f ", rte_percent.getValue())); } } - if (fmgc.FMGCInternal.crzSet == 1) { + if (fmgc.FMGCInternal.altAirportSet) { me["Simple_L4"].setText(sprintf("%.1f", alt_fuel.getValue())); me["Simple_L4"].setColor(BLUE); me["Simple_C4"].show(); @@ -2614,7 +2614,7 @@ var canvas_MCDU_base = { me["Simple_C3B"].setText(sprintf("/%.1f ", rte_percent.getValue())); } } - if (fmgc.FMGCInternal.crzSet == 1) { + if (fmgc.FMGCInternal.altAirportSet) { me["Simple_L4"].setText(sprintf("%.1f", alt_fuel.getValue())); me["Simple_L4"].setColor(BLUE); me["Simple_C4"].show();