diff --git a/Nasal/brakes.nas b/Nasal/brakes.nas index ba9e075f..9406609f 100644 --- a/Nasal/brakes.nas +++ b/Nasal/brakes.nas @@ -25,8 +25,7 @@ var autobrake_init = func { # Override FG's generic brake, so we can use toe brakes to disconnect autobrake controls.applyBrakes = func(v, which = 0) { if (getprop("/systems/acconfig/autoconfig-running") != 1) { - wow1 = getprop("/gear/gear[1]/wow"); - wow2 = getprop("/gear/gear[2]/wow"); + wow0 = getprop("/gear/gear[0]/wow"); if (getprop("/controls/autobrake/mode") != 0 and wow0 == 1 and getprop("/controls/autobrake/active") == 1) { arm_autobrake(0); } diff --git a/revision.txt b/revision.txt index d41aa517..4270c429 100644 --- a/revision.txt +++ b/revision.txt @@ -1 +1 @@ -4013 \ No newline at end of file +4014 \ No newline at end of file