1
0
Fork 0

ND: fix bug

This commit is contained in:
Jonathan Redpath 2022-01-17 12:55:37 +00:00
parent b6775f61d3
commit 436f5292ea

View file

@ -638,8 +638,8 @@ canvas.NavDisplay.update = func() # FIXME: This stuff is still too aircraft spec
}
# Hide heading bug 45 secs after change
var vhdg_bug = getprop("/it-autoflight/input/hdg") or 0;
var hdg_bug_active = getprop("/it-autoflight/custom/show-hdg") or 1;
var vhdg_bug = fmgc.Input.hdg.getValue();
var hdg_bug_active = fmgc.Custom.showHdg.getBoolValue();
if((me.in_mode("toggle_display_mode", ["MAP"]) and me.get_switch("toggle_display_type") == "CRT")
or (me.get_switch("toggle_track_heading") and me.get_switch("toggle_display_type") == "LCD"))