mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-27 17:43:53 +01:00
//maze3d: Fix accidental global variable definition
This commit is contained in:
parent
f37a2aabcf
commit
1f4a115063
@ -5,7 +5,7 @@
|
||||
----------------------------------
|
||||
-- function to print out the world
|
||||
----------------------------------
|
||||
function printspace3d(space, w, h, d)
|
||||
local function printspace3d(space, w, h, d)
|
||||
for z = 0, d - 1, 1 do
|
||||
for y = 0, h - 1, 1 do
|
||||
local line = ""
|
||||
@ -18,9 +18,6 @@ function printspace3d(space, w, h, d)
|
||||
end
|
||||
end
|
||||
|
||||
-- Initialise the world
|
||||
start_time = worldeditadditions.get_ms_time()
|
||||
|
||||
local function generate_maze3d(seed, width, height, depth, path_length, path_width, path_depth)
|
||||
|
||||
if not path_length then path_length = 2 end
|
||||
|
Loading…
Reference in New Issue
Block a user