Merge remote-tracking branch 'refs/remotes/origin/master'
Conflicts: mapgen.lua
This commit is contained in:
commit
285387f1b3
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ local function generate(p_minp, p_maxp, seed)
|
||||||
|
|
||||||
-- Deal with memory issues. This, of course, is supposed to be automatic.
|
-- Deal with memory issues. This, of course, is supposed to be automatic.
|
||||||
minetest.after(0, function()
|
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...")
|
print("Fun Caves: Manually collecting garbage...")
|
||||||
collectgarbage("collect")
|
collectgarbage("collect")
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue