Luacheck: already declared variable

This commit is contained in:
mazes 80 2022-09-16 04:26:26 +02:00
parent 4bf69fde40
commit 7e56f3b2b4

View file

@ -43,7 +43,7 @@ local function check_hit(player, ray)
) )
origin = vector.add(origin, windpos) origin = vector.add(origin, windpos)
end end
local ray = minetest.raycast(origin, ppos) ray = minetest.raycast(origin, ppos)
local obj = ray:next() local obj = ray:next()
-- found nothing -- found nothing
if obj == nil then return false end if obj == nil then return false end