]> git.mxchange.org Git - flightgear.git/blobdiff - src/Network/ATC-Main.cxx
Update nasal function name.
[flightgear.git] / src / Network / ATC-Main.cxx
index e291bb22b216934c04fe959cbc057388681b6247..84ecf326ed0d575986d1ce8c475a3e2e96acd625 100644 (file)
@@ -211,10 +211,9 @@ bool FGATCMain::process() {
     // directly provide.
 
     FGNasalSys *n = (FGNasalSys*)globals->get_subsystem("nasal");
-    bool result = n->parseAndRun( "atcsim.do_hardware()" );
+    bool result = n->parseAndRun( "atcsim.update()" );
     if ( !result ) {
-        SG_LOG( SG_GENERAL, SG_ALERT,
-                "Nasal: atcsim.do_hardware() failed!" );
+        SG_LOG( SG_GENERAL, SG_ALERT, "Nasal: atcsim.update() failed!" );
     }
 
     // process the ATC outputs