1
0
Fork 0

Oops, same bug on the next line too.

This commit is contained in:
andy 2004-08-12 18:48:44 +00:00
parent a20598d0fd
commit f2edac1849

View file

@ -65,7 +65,7 @@ fuelUpdate = func {
# Kill the engines if we're told to, otherwise simply
# deselect the tank.
if(t.getNode("kill-when-empty", 1).getBoolValue()) { outOfFuel = 1; }
else { t.setBoolValue("selected", 0); }
else { t.getNode("selected").setBoolValue(0); }
}
gals = lbs / ppg;
t.getNode("level-gal_us").setDoubleValue(gals);