remove deprecated printlog() from a dialog
This commit is contained in:
parent
268b56ff24
commit
2483b86939
1 changed files with 2 additions and 3 deletions
|
@ -76,7 +76,7 @@ command interface /autopilot/route-manager/input:
|
|||
var to = fp.getWP(sel_index());
|
||||
|
||||
if ((from == nil ) or (to == nil)) {
|
||||
printlog('info', 'unable to route, invalid start ad end points');
|
||||
logprint(LOG_INFO, 'unable to route, invalid start ad end points');
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -247,7 +247,7 @@ command interface /autopilot/route-manager/input:
|
|||
|
||||
var airborne = getprop('/gear/gear[0]/wow') == 0;
|
||||
if (airborne) {
|
||||
printlog('info', 'route-manager dialog, init in-air, clearing departure settings');
|
||||
logprint(LOG_INFO, 'route-manager dialog, init in-air, clearing departure settings');
|
||||
fp.departure = nil;
|
||||
return;
|
||||
}
|
||||
|
@ -262,7 +262,6 @@ command interface /autopilot/route-manager/input:
|
|||
}
|
||||
|
||||
if (fp.departure_runway == nil) {
|
||||
printlog('info', 'selecting departure runway');
|
||||
var rwy = fp.departure.findBestRunwayForPos( geo.aircraft_position() );
|
||||
fp.departure_runway = rwy;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue