diff --git a/Nasal/hydraulics.nas b/Nasal/hydraulics.nas index 67a22bf1..d9d20ec4 100644 --- a/Nasal/hydraulics.nas +++ b/Nasal/hydraulics.nas @@ -123,7 +123,7 @@ var HYD = { ptu_active = getprop("/systems/hydraulic/ptu-active"); - if ((elec_pump_blue_sw and dc_ess >= 25 and !blue_pump_fail) and (stateL == 3 or stateR == 3) and !blue_leak) { + if ((elec_pump_blue_sw and dc_ess >= 25 and !blue_pump_fail) and (stateL == 3 or stateR == 3 or getprop("/gear/gear[0]/wow") == 0) and !blue_leak) { if (blue_psi < 2900) { setprop("/systems/hydraulic/blue-psi", blue_psi + 50); } else { diff --git a/Nasal/it-fbw.nas b/Nasal/it-fbw.nas index 81f01f18..c0fab015 100644 --- a/Nasal/it-fbw.nas +++ b/Nasal/it-fbw.nas @@ -158,7 +158,7 @@ var update_loop = func { var law = getprop("/it-fbw/law"); # Mech Backup can always return to direct, if it can. - if (law == 3 and getprop("/systems/electrical/bus/ac-ess") >= 110 and getprop("/systems/hydraulic/blue-psi") >= 1500) { + if (law == 3 and getprop("/systems/electrical/bus/ac-ess") >= 110 and (getprop("/systems/hydraulic/green-psi") >= 1500 or getprop("/systems/hydraulic/blue-psi") >= 1500 or getprop("/systems/hydraulic/yellow-psi") >= 1500)) { setprop("/it-fbw/degrade-law", 2); } diff --git a/revision.txt b/revision.txt index 856ff087..42f4078d 100644 --- a/revision.txt +++ b/revision.txt @@ -1 +1 @@ -4112 \ No newline at end of file +4113 \ No newline at end of file