A3XX: Fix a bad bug!

This commit is contained in:
Joshua Davidson 2017-06-28 16:45:13 -04:00
parent 88c2fce02d
commit 245dc7107b

View file

@ -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")));
}
});