diff --git a/Nasal/FMGC.nas b/Nasal/FMGC.nas index df21e817..5e15e602 100644 --- a/Nasal/FMGC.nas +++ b/Nasal/FMGC.nas @@ -454,6 +454,14 @@ var ManagedSPD = maketimer(0.25, func { mng_alt_mach_cmd = getprop("/FMGC/internal/mng-alt-mach"); mng_alt_mach = math.round(mng_alt_mach_cmd, 0.001); + if (mach > mng_alt_mach and (phase == 2 or phase == 3)) { + setprop("/FMGC/internal/mach-switchover", 1); + } + + if (ias > mng_alt_spd and (phase == 4 or phase == 5)) { + setprop("/FMGC/internal/mach-switchover", 0); + } + if ((mode == " " or mode == "SRS") and (phase == 0 or phase == 1)) { if (mngktsmach) { setprop("/FMGC/internal/mng-kts-mach", 0); diff --git a/Systems/fmgc-b.xml b/Systems/fmgc-b.xml index 51c7b9df..87482617 100644 --- a/Systems/fmgc-b.xml +++ b/Systems/fmgc-b.xml @@ -159,7 +159,7 @@ /FMGC/internal/cost-index 01.00 - 1201.14 + 1201.19