diff --git a/main.lua b/main.lua index 9822d7b..89e1a5f 100644 --- a/main.lua +++ b/main.lua @@ -487,7 +487,7 @@ function PollVelocity() -- Velocity Sensors VelocityVectors = {} - if velSensors[1] == nil then -- verify array is not empty + if velSensors[1] ~= nil then -- verify array is not empty SensorData.Velocity = {}