Oops, same bug on the next line too.
This commit is contained in:
parent
a20598d0fd
commit
f2edac1849
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ fuelUpdate = func {
|
||||||
# Kill the engines if we're told to, otherwise simply
|
# Kill the engines if we're told to, otherwise simply
|
||||||
# deselect the tank.
|
# deselect the tank.
|
||||||
if(t.getNode("kill-when-empty", 1).getBoolValue()) { outOfFuel = 1; }
|
if(t.getNode("kill-when-empty", 1).getBoolValue()) { outOfFuel = 1; }
|
||||||
else { t.setBoolValue("selected", 0); }
|
else { t.getNode("selected").setBoolValue(0); }
|
||||||
}
|
}
|
||||||
gals = lbs / ppg;
|
gals = lbs / ppg;
|
||||||
t.getNode("level-gal_us").setDoubleValue(gals);
|
t.getNode("level-gal_us").setDoubleValue(gals);
|
||||||
|
|
Loading…
Reference in a new issue