A3XX: Fix multiple bugs in FMGC

This commit is contained in:
Joshua Davidson 2017-06-09 15:50:33 -04:00
parent 9b5735e8a6
commit c66111be74

View file

@ -122,7 +122,7 @@ var phasecheck = maketimer(0.2, func {
setprop("/FMGC/status/phase", "2"); setprop("/FMGC/status/phase", "2");
} }
if (alt >= cruiseft_b and phase == "2" and (mode == "ALT" or mode == "ALT CRZ")) { if (alt >= cruiseft_b and phase == "2" and (mode == "ALT" or mode == mode == "ALT*" or mode == "ALT CRZ")) {
setprop("/FMGC/status/phase", "3"); setprop("/FMGC/status/phase", "3");
setprop("/systems/pressurization/mode", "CR"); setprop("/systems/pressurization/mode", "CR");
} }