diff --git a/Nasal/libraries.nas b/Nasal/libraries.nas index 2c144778..354016c0 100644 --- a/Nasal/libraries.nas +++ b/Nasal/libraries.nas @@ -224,7 +224,7 @@ var librariesLoop = maketimer(0.1, func { } if (getprop("/it-autoflight/custom/show-hdg") == 0) { - setprop("/it-autoflight/input/hdg", getprop("/orientation/heading-magnetic-deg")); + setprop("/it-autoflight/input/hdg", math.round(getprop("/orientation/heading-magnetic-deg"))); } });