mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-10-31 21:33:02 +00:00
wea.emerge_area: remove debug prints
This commit is contained in:
parent
a511d85e29
commit
85a715a0ea
1 changed files with 0 additions and 2 deletions
|
@ -57,7 +57,6 @@ local function emerge_callback(pos, action, num_calls_remaining, state)
|
||||||
state.loaded_blocks = state.loaded_blocks + 1
|
state.loaded_blocks = state.loaded_blocks + 1
|
||||||
|
|
||||||
if state.loaded_blocks == state.total then
|
if state.loaded_blocks == state.total then
|
||||||
print("[DEBUG] after", state.callback)
|
|
||||||
state.callback(state, state.callback_state)
|
state.callback(state, state.callback_state)
|
||||||
else
|
else
|
||||||
if action == minetest.EMERGE_CANCELLED then
|
if action == minetest.EMERGE_CANCELLED then
|
||||||
|
@ -87,6 +86,5 @@ function worldeditadditions.emerge_area(pos1, pos2, callback, callback_state)
|
||||||
callback = callback,
|
callback = callback,
|
||||||
callback_state = callback_state
|
callback_state = callback_state
|
||||||
}
|
}
|
||||||
print("[DEBUG] before", state.callback)
|
|
||||||
minetest.emerge_area(pos1, pos2, emerge_callback, state)
|
minetest.emerge_area(pos1, pos2, emerge_callback, state)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue