s/play-audio-message/play-audio-sample/
This commit is contained in:
parent
0dfdf75b0b
commit
bec64d9c9e
2 changed files with 2 additions and 2 deletions
|
@ -61,7 +61,7 @@ chatter_update = func {
|
|||
# go through the motions, but only schedule the message to play
|
||||
# if atc-chatter is enabled.
|
||||
printlog("info", "update atc chatter ", chatter_list[chatter_index] );
|
||||
fgcommand("play-audio-message", props.Node.new(tmpl) );
|
||||
fgcommand("play-audio-sample", props.Node.new(tmpl) );
|
||||
}
|
||||
} else {
|
||||
# skip non-wav file found in directory
|
||||
|
|
|
@ -394,7 +394,7 @@ var say_message = func(node, default = nil) {
|
|||
# Other messages are only displayed if they change
|
||||
if (audio != nil) {
|
||||
var prop = { path : audio_dir, file : audio };
|
||||
fgcommand("play-audio-message", props.Node.new(prop));
|
||||
fgcommand("play-audio-sample", props.Node.new(prop));
|
||||
screen.log.write(msg, 1, 1, 1);
|
||||
} elsif (msg != nil) {
|
||||
setprop("/sim/messages/copilot", msg);
|
||||
|
|
Loading…
Add table
Reference in a new issue