Get rid of a ton of global variables
This commit is contained in:
parent
06933135b4
commit
bc9491ffdd
22 changed files with 214 additions and 4114 deletions
|
@ -53,7 +53,7 @@ local function update_wall(pos)
|
|||
minetest.add_node(pos, {name = basename..sum})
|
||||
end
|
||||
|
||||
function update_wall_global(pos)
|
||||
local function update_wall_global(pos)
|
||||
for i = 1,5 do
|
||||
local dir = directions[i]
|
||||
update_wall({x = pos.x + dir.x, y = pos.y + dir.y, z = pos.z + dir.z})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue