From 245dc7107b840cd4cd7bba7579884945ebb54c3f Mon Sep 17 00:00:00 2001 From: Joshua Davidson Date: Wed, 28 Jun 2017 16:45:13 -0400 Subject: [PATCH] A3XX: Fix a bad bug! --- Nasal/libraries.nas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"))); } });