squash undeclared global "end_time" warning (fixes #10)

This commit is contained in:
Starbeamrainbowlabs 2020-05-10 22:24:33 +01:00
parent 6418104f5c
commit e4df5af008
No known key found for this signature in database
GPG Key ID: 1BE5172E637709C2

@ -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)