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:
parent
24776b439b
commit
7c8558274a
3 changed files with 10 additions and 1 deletions
|
@ -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"));
|
||||
});
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue