1
0
Fork 0

Turn atc-chatter.nas into a separate submodule.

Moved atc-chatter.nas into subdirectory (file unmodified).
Load atc-chatter.nas on demand only.
This commit is contained in:
ThorstenB 2011-06-05 23:22:12 +02:00
parent 24776b439b
commit 7c8558274a
3 changed files with 10 additions and 1 deletions

View file

@ -1274,3 +1274,9 @@ _setlistener("/sim/signals/fdm-initialized", func {
do_welcome = 0;
});
# load ATC chatter module on demand
setprop("/nasal/atc-chatter/enabled", getprop("/sim/sound/chatter/enabled"));
_setlistener("/sim/sound/chatter/enabled", func {
setprop("/nasal/atc-chatter/enabled", getprop("/sim/sound/chatter/enabled"));
});

View file

@ -1228,8 +1228,11 @@ Started September 2000 by David Megginson, david@megginson.com
<nasal>
<tutorial>
<enabled type="bool">false</enabled>
<enabled type="bool" userarchive="n">false</enabled>
</tutorial>
<atc-chatter>
<enabled type="bool" userarchive="n">false</enabled>
</atc-chatter>
</nasal>
</PropertyList>