From f2edac18491ac35f700e62af74c03ec3db3308b1 Mon Sep 17 00:00:00 2001 From: andy Date: Thu, 12 Aug 2004 18:48:44 +0000 Subject: [PATCH] Oops, same bug on the next line too. --- Nasal/fuel.nas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Nasal/fuel.nas b/Nasal/fuel.nas index 0bc1c48e9..59acfc13b 100644 --- a/Nasal/fuel.nas +++ b/Nasal/fuel.nas @@ -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);