mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-12-26 13:25:02 +00:00
squash undeclared global "end_time" warning (fixes #10)
This commit is contained in:
parent
6418104f5c
commit
e4df5af008
1 changed files with 2 additions and 2 deletions
|
@ -112,8 +112,8 @@ local function generate_maze(seed, width, height, path_length, path_width)
|
|||
end
|
||||
end
|
||||
|
||||
end_time = os.clock()
|
||||
return world --, (end_time - start_time) * 1000
|
||||
local end_time = os.clock()
|
||||
return world, (end_time - start_time) * 1000
|
||||
end
|
||||
|
||||
-- local world = maze(os.time(), width, height)
|
||||
|
|
Loading…
Reference in a new issue