1
0
Fork 0

Fix other bug

This commit is contained in:
Jonathan Redpath 2022-05-03 16:20:46 +01:00
parent 6aac392eec
commit c17b3e1c6d

View file

@ -1242,7 +1242,7 @@ var canvas_pfd = {
}), }),
props.UpdateManager.FromHashList(["altitudePFD","altError"], 0.1, func(val) { props.UpdateManager.FromHashList(["altitudePFD","altError"], 0.1, func(val) {
if (!val.altError) { if (!val.altError) {
obj.altOffset = val / 500 - int(val.altitudePFD / 500); obj.altOffset = val.altitudePFD / 500 - int(val.altitudePFD / 500);
obj.middleAltOffset = nil; obj.middleAltOffset = nil;
if (obj.altOffset > 0.5) { if (obj.altOffset > 0.5) {