A32X: Fix fuel system bug

This commit is contained in:
Joshua Davidson 2017-09-26 15:18:28 -04:00
parent 476bae9fa6
commit 5db69b05f3
2 changed files with 2 additions and 2 deletions

View file

@ -160,7 +160,7 @@ var master_fuel = func {
gravityfeedL = getprop("/systems/fuel/gravityfeedL");
gravityfeedR = getprop("/systems/fuel/gravityfeedR");
if ((getprop("/fdm/jsbsim/propulsion/tank[1]/contents-lbs") >= 50) and tank1feed0 and tank1feed1 and !gravityfeedL and !gravityfeedR) {
if ((getprop("/fdm/jsbsim/propulsion/tank[1]/contents-lbs") >= 50) and tank1feed and !gravityfeedL and !gravityfeedR) {
setprop("/systems/fuel/only-use-ctr-tank", 1);
} else {
setprop("/systems/fuel/only-use-ctr-tank", 0);

View file

@ -1 +1 @@
1539
1540