1
0
Fork 0

MCDU RADNAV page bugfix - CLR on R1 was applied to VOR1 instead of VOR2

This commit is contained in:
vezza 2023-03-12 11:59:41 +01:00
parent f67812fd96
commit a4d1a3082d

View file

@ -278,7 +278,7 @@ var radnavInput = func(key, i) {
} }
} else if (key == "R1") { } else if (key == "R1") {
if (radNavScratchpad == "CLR") { if (radNavScratchpad == "CLR") {
fmgc.FMGCInternal.VOR1.freqSet = 0; fmgc.FMGCInternal.VOR2.freqSet = 0;
mcdu_scratchpad.scratchpads[i].empty(); mcdu_scratchpad.scratchpads[i].empty();
} else { } else {
if (size(split("/", radNavScratchpad)) == 2) { if (size(split("/", radNavScratchpad)) == 2) {