Skip to content

Commit df9c221

Browse files
committed
Apply some reviews
1 parent cd3920c commit df9c221

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mods/default/functions.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ minetest.register_abm({
296296
local in_dig_up = false
297297
local mapgen_limit = tonumber(minetest.settings:get("mapgen_limit")) or 31007
298298
function default.dig_up(pos, node, digger, max_height)
299-
if in_dig_up then return end -- Avoid excess calls
299+
if in_dig_up then return end -- Do not recurse
300300
if digger == nil then return end
301301
max_height = max_height or mapgen_limit
302302

0 commit comments

Comments
 (0)