//subdivide: fix debug logging

This commit is contained in:
Starbeamrainbowlabs 2021-02-07 01:07:21 +00:00
parent 122ff381f1
commit edb80d7478
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -84,7 +84,7 @@ local function subdivide_step_beforeload(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.cpos1, state.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