mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-26 09:03:01 +00:00
//subdivide: comment out debug statements
....we're pretty sure what the issue is, and our server on elessar doesn't even emit them
This commit is contained in:
parent
555058b4ac
commit
03afd7e75c
1 changed files with 2 additions and 2 deletions
|
@ -79,12 +79,12 @@ local function subdivide_step_beforeload(state)
|
||||||
|
|
||||||
state.times.emerge_last = wea.get_ms_time()
|
state.times.emerge_last = wea.get_ms_time()
|
||||||
|
|
||||||
print("[BEFORE_EMERGE] c1", wea.vector.tostring(state.cpos1), "c2", wea.vector.tostring(state.cpos2), "volume", worldedit.volume(state.cpos1, state.cpos2))
|
-- print("[BEFORE_EMERGE] c1", wea.vector.tostring(state.cpos1), "c2", wea.vector.tostring(state.cpos2), "volume", worldedit.volume(state.cpos1, state.cpos2))
|
||||||
worldeditadditions.emerge_area(state.cpos1, state.cpos2, state.__afterload, state)
|
worldeditadditions.emerge_area(state.cpos1, state.cpos2, state.__afterload, state)
|
||||||
end
|
end
|
||||||
|
|
||||||
local function subdivide_step_afterload(state_emerge, state_ours)
|
local function subdivide_step_afterload(state_emerge, state_ours)
|
||||||
print("[AFTER_EMERGE] c1", wea.vector.tostring(state_ours.cpos1), "c2", wea.vector.tostring(state_ours.cpos2), "volume", worldedit.volume(state_ours.cpos1, state_ours.cpos2))
|
-- print("[AFTER_EMERGE] c1", wea.vector.tostring(state_ours.cpos1), "c2", wea.vector.tostring(state_ours.cpos2), "volume", worldedit.volume(state_ours.cpos1, state_ours.cpos2))
|
||||||
state_ours.times.emerge_last = wea.get_ms_time() - state_ours.times.emerge_last
|
state_ours.times.emerge_last = wea.get_ms_time() - state_ours.times.emerge_last
|
||||||
table.insert(state_ours.times.emerge, state_ours.times.emerge_last)
|
table.insert(state_ours.times.emerge, state_ours.times.emerge_last)
|
||||||
if #state_ours.times.emerge > 25 then
|
if #state_ours.times.emerge > 25 then
|
||||||
|
|
Loading…
Reference in a new issue