Skip to content

Commit

Permalink
Radar: Fixed reversed condition.
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaiVChr committed Oct 13, 2023
1 parent ef4009f commit 73a7e06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Nasal/radar/apg-68.nas
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 73a7e06

Please sign in to comment.