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
|
# go through the motions, but only schedule the message to play
|
||||||
# if atc-chatter is enabled.
|
# if atc-chatter is enabled.
|
||||||
printlog("info", "update atc chatter ", chatter_list[chatter_index] );
|
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 {
|
} else {
|
||||||
# skip non-wav file found in directory
|
# 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
|
# Other messages are only displayed if they change
|
||||||
if (audio != nil) {
|
if (audio != nil) {
|
||||||
var prop = { path : audio_dir, file : audio };
|
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);
|
screen.log.write(msg, 1, 1, 1);
|
||||||
} elsif (msg != nil) {
|
} elsif (msg != nil) {
|
||||||
setprop("/sim/messages/copilot", msg);
|
setprop("/sim/messages/copilot", msg);
|
||||||
|
|
Loading…
Add table
Reference in a new issue