ND: fix bug
This commit is contained in:
parent
b6775f61d3
commit
436f5292ea
1 changed files with 2 additions and 2 deletions
|
@ -638,8 +638,8 @@ canvas.NavDisplay.update = func() # FIXME: This stuff is still too aircraft spec
|
||||||
}
|
}
|
||||||
|
|
||||||
# Hide heading bug 45 secs after change
|
# Hide heading bug 45 secs after change
|
||||||
var vhdg_bug = getprop("/it-autoflight/input/hdg") or 0;
|
var vhdg_bug = fmgc.Input.hdg.getValue();
|
||||||
var hdg_bug_active = getprop("/it-autoflight/custom/show-hdg") or 1;
|
var hdg_bug_active = fmgc.Custom.showHdg.getBoolValue();
|
||||||
|
|
||||||
if((me.in_mode("toggle_display_mode", ["MAP"]) and me.get_switch("toggle_display_type") == "CRT")
|
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"))
|
or (me.get_switch("toggle_track_heading") and me.get_switch("toggle_display_type") == "LCD"))
|
||||||
|
|
Loading…
Reference in a new issue