- shorter update intervals (ufo technology!)
- only update the radar when the panel is actually visible
This commit is contained in:
parent
3cdf961214
commit
4866bfb66f
2 changed files with 9 additions and 0 deletions
|
@ -105,6 +105,7 @@
|
||||||
<radar>
|
<radar>
|
||||||
<name>radar</name>
|
<name>radar</name>
|
||||||
<number>0</number>
|
<number>0</number>
|
||||||
|
<update-interval-sec>0</update-interval-sec>
|
||||||
</radar>
|
</radar>
|
||||||
|
|
||||||
<tacan>
|
<tacan>
|
||||||
|
|
|
@ -1,4 +1,12 @@
|
||||||
|
|
||||||
|
setlistener("/sim/panel/visibility", func {
|
||||||
|
setprop("/instrumentation/radar/serviceable", cmdarg().getValue());
|
||||||
|
}, 1);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# maximum speed -----------------------------------------------------------------------------------
|
# maximum speed -----------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue