Aircraft Center: fix aircraft switching log message.
This commit is contained in:
parent
bb1ab2d975
commit
59edeea5c3
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ var AircraftCenter = {
|
||||||
var acft_id = variant;
|
var acft_id = variant;
|
||||||
b.listen("clicked", func
|
b.listen("clicked", func
|
||||||
{
|
{
|
||||||
print("launch " ~ acft_id ~ '(' ~ package.variants[variant] ~ ')');
|
printlog("warn", "Switching to aircraft '" ~ acft_id ~ "'");
|
||||||
fgcommand("switch-aircraft", props.Node.new({"aircraft": acft_id}));
|
fgcommand("switch-aircraft", props.Node.new({"aircraft": acft_id}));
|
||||||
});
|
});
|
||||||
launch_bar.addItem(b);
|
launch_bar.addItem(b);
|
||||||
|
|
Loading…
Reference in a new issue