mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2025-04-08 09:41:24 +02:00
wea.emerge_area: remove debug prints
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user