fix nasal error

This commit is contained in:
Joshua Davidson 2017-04-06 20:22:36 -04:00
parent 4698154c11
commit 5f478ac54d

View file

@ -129,6 +129,7 @@ var pitch_input = func {
}
}
var elev = getprop("/controls/flight/elevator");
if (getprop("/gear/gear[0]/wow") == 1) {
if (elev > -0.1 and elev < 0.1) {
setprop("/it-fbw/pitch-deg", getprop("/orientation/pitch-deg"));