1
0
Fork 0

Aircraft Center: fix aircraft switching log message.

This commit is contained in:
Thomas Geymayer 2014-07-12 17:56:25 +02:00
parent bb1ab2d975
commit 59edeea5c3

View file

@ -179,7 +179,7 @@ var AircraftCenter = {
var acft_id = variant;
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}));
});
launch_bar.addItem(b);