mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-27 17:43:53 +01:00
squash undeclared global "end_time" warning (fixes #10)
This commit is contained in:
parent
6418104f5c
commit
e4df5af008
@ -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 New Issue
Block a user