Add missing local definition of var downpos

This commit is contained in:
wallabra 2022-06-23 18:23:29 -03:00
parent f3cc8f0f8a
commit b8f89e5569
Signed by untrusted user: Gustavo6046
GPG Key ID: BC54C1B15C17148E
1 changed files with 1 additions and 0 deletions

View File

@ -439,6 +439,7 @@ minetest.register_abm({
front = {x=pos.x,y=pos.y,z=pos.z-1} front = {x=pos.x,y=pos.y,z=pos.z-1}
end end
local above = {x=pos.x,y=pos.y+1,z=pos.z} local above = {x=pos.x,y=pos.y+1,z=pos.z}
local downpos = {x=pos.x,y=pos.y-1,z=pos.z}
local frontnode = minetest.get_node(front) local frontnode = minetest.get_node(front)
if not minetest.registered_nodes[frontnode.name] then return end if not minetest.registered_nodes[frontnode.name] then return end