Showing 1 changed files with 0 additions and 11 deletions
-11
zkv1000.nas
... ...
@@ -162,15 +162,6 @@ var init_props = func {
162 162
     props.globals.getNode('/autopilot/locks/passive-mode', 1).setIntValue(1);
163 163
 }
164 164
 
165
-var set_listeners = func {
166
-#    setlistener('/instrumentation/nav[0]/radials/selected-deg', popup_course_info,  0, 0);
167
-#    setlistener('/instrumentation/nav[1]/radials/selected-deg', popup_course_info,  0, 0);
168
-#    setlistener('/instrumentation/zkv1000/afcs/heading-bug-deg',popup_hdg_info,     0, 0);
169
-#    setlistener('/instrumentation/zkv1000/afcs/selected-alt-ft',popup_selected_alt, 0, 0);
170
-#    setlistener('/instrumentation/zkv1000/radios/nav-tune',     setNavTune,         0, 0);
171
-#    setlistener('/instrumentation/zkv1000/radios/comm-tune',    setCommTune,        0, 0);
172
-}
173
-
174 165
 var load_nasal = func {
175 166
     var zkv1000_dir = getprop('/sim/fg-aircraft') ~ '/Instruments-3d/zkv1000/Nasal/';
176 167
     for (var i = 0; i < size(files_to_load); i += 1)
... ...
@@ -191,9 +182,7 @@ var zkv1000_init = func {
191 182
     load_multikey();
192 183
     load_nasal();
193 184
     init_props();
194
-    set_listeners();
195 185
     print('zkv1000 loaded');
196 186
 }
197 187
 
198 188
 var init = setlistener('/sim/signals/fdm-initialized', zkv1000_init, 0, 0);
199
-