]> git.mxchange.org Git - flightgear.git/commitdiff
don't keep 'nasal-dir-initialized' node after removing
authormfranz <mfranz>
Thu, 19 Mar 2009 15:08:49 +0000 (15:08 +0000)
committerTim Moore <timoore@redhat.com>
Wed, 1 Apr 2009 07:23:54 +0000 (09:23 +0200)
src/Scripting/NasalSys.cxx

index fadca5249f4ee9bd4cc41350c6e0fb5ccdff500a..a41179366142f0afd823fa66d556db536c4b5afd 100644 (file)
@@ -691,7 +691,7 @@ void FGNasalSys::init()
     const char *s = "nasal-dir-initialized";
     SGPropertyNode *signal = fgGetNode("/sim/signals", true);
     signal->setBoolValue(s, true);
-    signal->removeChildren(s);
+    signal->removeChildren(s, false);
 
     // Pull scripts out of the property tree, too
     loadPropertyScripts();