fix PollVelocity empty array check

This commit is contained in:
2026-06-29 16:19:31 -05:00
parent e27c899c17
commit 4976c5b227

View File

@@ -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 = {}