1
0
Fork 0

Probably best to make sure the property is there (even though

"selected" certainly should be)
This commit is contained in:
andy 2004-08-12 18:49:13 +00:00
parent f2edac1849
commit 168e592e03

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.getNode("selected").setBoolValue(0); }
else { t.getNode("selected", 1).setBoolValue(0); }
}
gals = lbs / ppg;
t.getNode("level-gal_us").setDoubleValue(gals);