mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-27 01:23:45 +01:00
wea.emerge_area: remove debug prints
This commit is contained in:
parent
a511d85e29
commit
85a715a0ea
@ -57,7 +57,6 @@ local function emerge_callback(pos, action, num_calls_remaining, state)
|
||||
state.loaded_blocks = state.loaded_blocks + 1
|
||||
|
||||
if state.loaded_blocks == state.total then
|
||||
print("[DEBUG] after", state.callback)
|
||||
state.callback(state, state.callback_state)
|
||||
else
|
||||
if action == minetest.EMERGE_CANCELLED then
|
||||
@ -87,6 +86,5 @@ function worldeditadditions.emerge_area(pos1, pos2, callback, callback_state)
|
||||
callback = callback,
|
||||
callback_state = callback_state
|
||||
}
|
||||
print("[DEBUG] before", state.callback)
|
||||
minetest.emerge_area(pos1, pos2, emerge_callback, state)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user