MCDU: Fix ADF on RADNAV being STUPID
This commit is contained in:
parent
a35fe46392
commit
6dd36477ba
3 changed files with 5 additions and 3 deletions
|
@ -643,7 +643,7 @@ var canvas_MCDU_base = {
|
|||
if (getprop("/FMGC/internal/adf1freq-set") == 1) {
|
||||
me["Simple_L5"].setFont(default);
|
||||
me["Simple_L5"].setFontSize(normal);
|
||||
me["Simple_L5"].setText(sprintf("%3.0f", adf1));
|
||||
me["Simple_L5"].setText(sprintf("%s", adf1));
|
||||
} else {
|
||||
me["Simple_L5"].setFont(symbol);
|
||||
me["Simple_L5"].setFontSize(small);
|
||||
|
@ -663,7 +663,7 @@ var canvas_MCDU_base = {
|
|||
if (getprop("/FMGC/internal/adf2freq-set") == 1) {
|
||||
me["Simple_R5"].setFont(default);
|
||||
me["Simple_R5"].setFontSize(normal);
|
||||
me["Simple_R5"].setText(sprintf("%3.0f", adf2));
|
||||
me["Simple_R5"].setText(sprintf("%s", adf2));
|
||||
} else {
|
||||
me["Simple_R5"].setFont(symbol);
|
||||
me["Simple_R5"].setFontSize(small);
|
||||
|
|
|
@ -25,6 +25,8 @@ setprop("/FMGC/internal/ils1-mcdu", "XXX/999.99");
|
|||
setprop("/FMGC/internal/ils2-mcdu", "XXX/999.99");
|
||||
setprop("/FMGC/internal/vor1-mcdu", "XXX/999.99");
|
||||
setprop("/FMGC/internal/vor2-mcdu", "999.99/XXX");
|
||||
setprop("/FMGC/internal/adf1-mcdu", "XXX/999.99");
|
||||
setprop("/FMGC/internal/adf2-mcdu", "999.99/XXX");
|
||||
setprop("/gear/gear[0]/wow-fmgc", 1);
|
||||
|
||||
setlistener("/sim/signals/fdm-initialized", func {
|
||||
|
|
|
@ -1 +1 @@
|
|||
4660
|
||||
4661
|
Reference in a new issue