mirror of
https://github.com/t-affeldt/climate_api.git
synced 2025-04-30 08:21:46 -04:00
Luacheck: already declared variable
This commit is contained in:
parent
4bf69fde40
commit
7e56f3b2b4
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ local function check_hit(player, ray)
|
|||
)
|
||||
origin = vector.add(origin, windpos)
|
||||
end
|
||||
local ray = minetest.raycast(origin, ppos)
|
||||
ray = minetest.raycast(origin, ppos)
|
||||
local obj = ray:next()
|
||||
-- found nothing
|
||||
if obj == nil then return false end
|
||||
|
|
Loading…
Add table
Reference in a new issue