1
0
Fork 0

- shorter update intervals (ufo technology!)

- only update the radar when the panel is actually visible
This commit is contained in:
mfranz 2007-06-24 22:45:10 +00:00
parent 3cdf961214
commit 4866bfb66f
2 changed files with 9 additions and 0 deletions

View file

@ -105,6 +105,7 @@
<radar>
<name>radar</name>
<number>0</number>
<update-interval-sec>0</update-interval-sec>
</radar>
<tacan>

View file

@ -1,4 +1,12 @@
setlistener("/sim/panel/visibility", func {
setprop("/instrumentation/radar/serviceable", cmdarg().getValue());
}, 1);
# maximum speed -----------------------------------------------------------------------------------