commenting the "Engaged" message out ... YASim.cxx sets the launchbar
state string in *every* frame, so we shouldn't "listen" to it. :-(
This commit is contained in:
parent
520fff1c1e
commit
6149c6bbda
1 changed files with 6 additions and 6 deletions
|
@ -257,12 +257,12 @@ _setlistener("/sim/signals/nasal-dir-initialized", func {
|
|||
}, 1);
|
||||
}, 5);
|
||||
|
||||
setlistener("/gear/launchbar/state", func {
|
||||
var e = cmdarg().getValue();
|
||||
if (e != launchbar and e == "Engaged")
|
||||
setprop("/sim/messages/copilot", "Engaged!");
|
||||
launchbar = e;
|
||||
});
|
||||
#setlistener("/gear/launchbar/state", func {
|
||||
# var e = cmdarg().getValue();
|
||||
# if (e != launchbar and e == "Engaged")
|
||||
# setprop("/sim/messages/copilot", "Engaged!");
|
||||
# launchbar = e;
|
||||
#});
|
||||
|
||||
# map ATC messages to the screen log and to the voice subsystem
|
||||
var map = func(type, msg, r, g, b) {
|
||||
|
|
Loading…
Reference in a new issue