Limit custom VAPP selection to vls_appr
This commit is contained in:
parent
79d7a7ebd7
commit
b5236570af
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ var perfAPPRInput = func(key, i) {
|
|||
if (scratchpad == "CLR") {
|
||||
fmgc.FMGCInternal.vappSpeedSet = 0;
|
||||
mcdu_scratchpad.scratchpads[i].empty();
|
||||
} else if (int(scratchpad) != nil and scratchpad >= 100 and scratchpad <= 350) {
|
||||
} else if (int(scratchpad) != nil and scratchpad >= fmgc.FMGCInternal.vls_appr and scratchpad <= 350) {
|
||||
fmgc.FMGCInternal.vappSpeedSet = 1;
|
||||
fmgc.FMGCInternal.vapp_appr = scratchpad;
|
||||
mcdu_scratchpad.scratchpads[i].empty();
|
||||
|
|
Loading…
Reference in a new issue