A32X: Fix fuel system bug
This commit is contained in:
parent
476bae9fa6
commit
5db69b05f3
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -1 +1 @@
|
|||
1539
|
||||
1540
|
Reference in a new issue