Fix FCU - it wouldn't engage NAV on the last waypoint
This commit is contained in:
parent
e45101b03f
commit
763b12c26c
1 changed files with 1 additions and 1 deletions
|
@ -263,7 +263,7 @@ var FCUController = {
|
|||
HDGPush: func() {
|
||||
if (me.FCUworking) {
|
||||
if (fmgc.Output.fd1.getBoolValue() or fmgc.Output.fd2.getBoolValue() or fmgc.Output.ap1.getBoolValue() or fmgc.Output.ap2.getBoolValue()) {
|
||||
var wp = fmgc.flightPlanController.flightplans[2].getWP(fmgc.flightPlanController.currentToWptIndex.getValue() + 1);
|
||||
var wp = fmgc.flightPlanController.flightplans[2].getWP(fmgc.flightPlanController.currentToWptIndex.getValue());
|
||||
if (wp != nil and wp.wp_type != "discontinuity") {
|
||||
fmgc.Input.lat.setValue(1);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue