Changes

Jump to navigation Jump to search
8 bytes added ,  18:22, 9 February 2018
Line 80: Line 80:  
<syntaxhighlight lang="nasal">
 
<syntaxhighlight lang="nasal">
 
var nasal_dir = getprop("/sim/fg-root") ~ "/Aircraft/Instruments-3d/FG1000/Nasal/";
 
var nasal_dir = getprop("/sim/fg-root") ~ "/Aircraft/Instruments-3d/FG1000/Nasal/";
var interfaceController = fg1000.GenericInterfaceController.new();
+
var interfaceController = fg1000.GenericInterfaceController.getInstance();
 
interfaceController.start();
 
interfaceController.start();
 
</syntaxhighlight>
 
</syntaxhighlight>

Navigation menu