From 73a7e06082c2251898b8f7416dd21aa3bd1468bc Mon Sep 17 00:00:00 2001 From: "Nikolai V. Chr" Date: Fri, 13 Oct 2023 16:02:44 +0200 Subject: [PATCH] Radar: Fixed reversed condition. --- Nasal/radar/apg-68.nas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Nasal/radar/apg-68.nas b/Nasal/radar/apg-68.nas index 40835e36..a92691eb 100644 --- a/Nasal/radar/apg-68.nas +++ b/Nasal/radar/apg-68.nas @@ -1092,7 +1092,7 @@ var APG68 = { rcsRefValue: 3.2, targetHistory: 3,# Not used in TWS isEnabled: func { - return getprop("/f16/avionics/power-fcr-bit") == 2 and getprop("instrumentation/radar/radar-enable") and getprop("instrumentation/radar/serviceable") and getprop("/fdm/jsbsim/gear/unit[0]/WOW");# + return getprop("/f16/avionics/power-fcr-bit") == 2 and getprop("instrumentation/radar/radar-enable") and getprop("instrumentation/radar/serviceable") and !getprop("/fdm/jsbsim/gear/unit[0]/WOW"); }, setAGMode: func { if (me.rootMode != 3) {