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
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

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