Showing 1 changed files with 0 additions and 4 deletions
-4
Nasal/buttons.nas
... ...
@@ -346,10 +346,6 @@ var buttonsClass = {
346 346
         me.device.buttons.ENT = func (a = 0) {
347 347
             if (a) return;
348 348
             me.device.buttons.ValidateTMRREF();
349
-            var settings_file = getprop('/sim/fg-home') ~'/aircraft-data/zkv1000.xml';
350
-            if (zkv.getNode('_save') == nil and io.stat(settings_file) != nil)
351
-                fgcommand('loadxml', props.Node.new({ filename: settings_file, targetnode: zkv.getNode('_save', 1).getPath() }));
352
-            props.copy(zkv.getNode('save'), zkv.getNode('_save/' ~ getprop('/sim/aircraft'), 1), 1);
353 349
         }
354 350
         me.device.buttons.CLR = func {
355 351
             me.device.windows.del(windowId);