From 1dd9db59719c1ab55b89c7cc63fb0219a248e38f Mon Sep 17 00:00:00 2001 From: Joshua Davidson Date: Fri, 21 Jul 2017 18:42:20 -0400 Subject: [PATCH] A3XX: Fix BAD TYPO in Speed control knob -- fix a bug --- Nasal/buttons.nas | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Nasal/buttons.nas b/Nasal/buttons.nas index 23f11f60..4ef257eb 100644 --- a/Nasal/buttons.nas +++ b/Nasal/buttons.nas @@ -67,11 +67,11 @@ var mcpSPDKnbPull = func { } } else if (getprop("/it-autoflight/input/kts-mach") == 1) { if (mach >= 0.50 and mach <= 0.95) { - setprop("/it-autoflight/input/spd-kts", math.round(mach, 0.001)); + setprop("/it-autoflight/input/spd-mach", math.round(mach, 0.001)); } else if (mach < 0.50) { - setprop("/it-autoflight/input/spd-kts", 0.50); + setprop("/it-autoflight/input/spd-mach", 0.50); } else if (mach > 0.95) { - setprop("/it-autoflight/input/spd-kts", 0.95); + setprop("/it-autoflight/input/spd-mach", 0.95); } } }