diff --git a/worldeditadditions/lib/maze3d.lua b/worldeditadditions/lib/maze3d.lua index fe84aa4..42318e2 100644 --- a/worldeditadditions/lib/maze3d.lua +++ b/worldeditadditions/lib/maze3d.lua @@ -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