diff --git a/main.lua b/main.lua index 1c62c0e..c44a24b 100644 --- a/main.lua +++ b/main.lua @@ -486,7 +486,11 @@ function PollSensors() end function PollVelocity() - local velSensors = peripheral.find("velocity_sensor") + local velSensors = { peripheral.find("velocity_sensor") } + if (Config.Debug) then + print("DEBUG: Found "..#velSensors.." velocity sensors.") + print("DEBUG: Velocity sensors: "..tableToString(velSensors)) + end -- Velocity Sensors VelocityVectors = {}