diff --git a/conversions/ais.js b/conversions/ais.js index ebfb7dd..aea1aa5 100644 --- a/conversions/ais.js +++ b/conversions/ais.js @@ -533,7 +533,7 @@ function findDeltaValue(vessel, delta, path) { } } let val = _.get(vessel, path) - return val ? val.value: undefined + return val && !_.isUndefined(val.value) ? val.value: val } function fillASCII(theString, len)