diff --git a/AircraftConfig/about.xml b/AircraftConfig/about.xml index 5ff21baf..b239864f 100644 --- a/AircraftConfig/about.xml +++ b/AircraftConfig/about.xml @@ -40,7 +40,7 @@ left - + left diff --git a/AircraftConfig/welcome.xml b/AircraftConfig/welcome.xml index 0a6f9329..3ead09f9 100644 --- a/AircraftConfig/welcome.xml +++ b/AircraftConfig/welcome.xml @@ -39,7 +39,7 @@ center - + center diff --git a/Nasal/fadec-common.nas b/Nasal/fadec-common.nas index a6298305..7d4fc185 100644 --- a/Nasal/fadec-common.nas +++ b/Nasal/fadec-common.nas @@ -66,7 +66,7 @@ setlistener("/controls/engines/engine[0]/throttle-pos", func { setprop("/systems/thrust/state1", "MAN THR"); unflex(); } else if (thr1 >= 0.78 and thr1 < 0.83) { - if (getprop("/gear/gear[1]/wow") == 1 or getprop("/gear/gear[2]/wow") == 1) { + if (getprop("/gear/gear[0]/wow") == 1) { setprop("/it-autoflight/input/athr", 1); } if (getprop("/controls/engines/thrust-limit") == "FLX") { @@ -76,13 +76,13 @@ setlistener("/controls/engines/engine[0]/throttle-pos", func { } setprop("/systems/thrust/state1", "MCT"); } else if (thr1 >= 0.83 and thr1 < 0.95) { - if (getprop("/gear/gear[1]/wow") == 1 or getprop("/gear/gear[2]/wow") == 1) { + if (getprop("/gear/gear[0]/wow") == 1) { setprop("/it-autoflight/input/athr", 1); } setprop("/systems/thrust/state1", "MAN THR"); unflex(); } else if (thr1 >= 0.95) { - if (getprop("/gear/gear[1]/wow") == 1 or getprop("/gear/gear[2]/wow") == 1) { + if (getprop("/gear/gear[0]/wow") == 1) { setprop("/it-autoflight/input/athr", 1); } setprop("/controls/engines/engine[0]/throttle-fdm", 0.99); @@ -126,7 +126,7 @@ setlistener("/controls/engines/engine[1]/throttle-pos", func { setprop("/systems/thrust/state2", "MAN THR"); unflex(); } else if (thr2 >= 0.78 and thr2 < 0.83) { - if (getprop("/gear/gear[1]/wow") == 1 or getprop("/gear/gear[2]/wow") == 1) { + if (getprop("/gear/gear[0]/wow") == 1) { setprop("/it-autoflight/input/athr", 1); } if (getprop("/controls/engines/thrust-limit") == "FLX") { @@ -136,13 +136,13 @@ setlistener("/controls/engines/engine[1]/throttle-pos", func { } setprop("/systems/thrust/state2", "MCT"); } else if (thr2 >= 0.83 and thr2 < 0.95) { - if (getprop("/gear/gear[1]/wow") == 1 or getprop("/gear/gear[2]/wow") == 1) { + if (getprop("/gear/gear[0]/wow") == 1) { setprop("/it-autoflight/input/athr", 1); } setprop("/systems/thrust/state2", "MAN THR"); unflex(); } else if (thr2 >= 0.95) { - if (getprop("/gear/gear[1]/wow") == 1 or getprop("/gear/gear[2]/wow") == 1) { + if (getprop("/gear/gear[0]/wow") == 1) { setprop("/it-autoflight/input/athr", 1); } setprop("/controls/engines/engine[1]/throttle-fdm", 0.99); diff --git a/revision.txt b/revision.txt index a71ad804..c13fe604 100644 --- a/revision.txt +++ b/revision.txt @@ -1 +1 @@ -3019 \ No newline at end of file +3020 \ No newline at end of file