diff --git a/Nasal/brakes.nas b/Nasal/brakes.nas index 9406609f..fe305879 100644 --- a/Nasal/brakes.nas +++ b/Nasal/brakes.nas @@ -9,8 +9,6 @@ setprop("/controls/autobrake/active", 0); setprop("/controls/autobrake/mode", 0); setlistener("/sim/signals/fdm-initialized", func { - var rev1 = 0; - var rev2 = 0; var thr1 = 0; var thr2 = 0; var wow0 = getprop("/gear/gear[0]/wow"); @@ -63,13 +61,11 @@ var arm_autobrake = func(mode) { # Autobrake enable if armed var absChk = maketimer(0.2, func { - rev1 = getprop("/engines/engine[0]/reverser-pos-norm"); - rev2 = getprop("/engines/engine[1]/reverser-pos-norm"); thr1 = getprop("/controls/engines/engine[0]/throttle"); thr2 = getprop("/controls/engines/engine[1]/throttle"); wow0 = getprop("/gear/gear[0]/wow"); gnd_speed = getprop("/velocities/groundspeed-kt"); - if (gnd_speed > 60 and rev1 < 0.01 and rev2 < 0.01) { + if (gnd_speed > 60) { if (getprop("/controls/autobrake/mode") != 0 and thr1 < 0.15 and thr2 < 0.15 and wow0 == 1) { setprop("/controls/autobrake/active", 1); if (getprop("/controls/autobrake/mode") == 1) { # LO diff --git a/revision.txt b/revision.txt index 980bf523..467ba129 100644 --- a/revision.txt +++ b/revision.txt @@ -1 +1 @@ -4057 \ No newline at end of file +4058 \ No newline at end of file