Merge remote-tracking branch 'refs/remotes/origin/master'

Conflicts:
	mapgen.lua
This commit is contained in:
Duane Robertson 2016-05-28 09:21:08 -05:00
commit 285387f1b3

View file

@ -250,7 +250,7 @@ local function generate(p_minp, p_maxp, seed)
-- Deal with memory issues. This, of course, is supposed to be automatic.
minetest.after(0, function()
if floor(collectgarbage("count")/1024) > 400 then
if math.floor(collectgarbage("count")/1024) > 400 then
print("Fun Caves: Manually collecting garbage...")
collectgarbage("collect")
end