A32X: Make managed speed work better with flaps down

This commit is contained in:
Joshua Davidson 2017-12-28 12:05:49 -05:00
parent f2e52e033b
commit a5409c1560

View file

@ -544,8 +544,8 @@ var ManagedSPD = maketimer(0.25, func {
mng_spd_cmd = getprop("/FMGC/internal/mng-spd-cmd"); mng_spd_cmd = getprop("/FMGC/internal/mng-spd-cmd");
if (mng_spd_cmd > maxspeed) { if (mng_spd_cmd > maxspeed -5) {
setprop("/FMGC/internal/mng-spd", maxspeed); setprop("/FMGC/internal/mng-spd", maxspeed -5);
} else { } else {
setprop("/FMGC/internal/mng-spd", mng_spd_cmd); setprop("/FMGC/internal/mng-spd", mng_spd_cmd);
} }