Skip to content

Commit

Permalink
The holy comments
Browse files Browse the repository at this point in the history
Co-authored-by: sfan5 <[email protected]>
  • Loading branch information
Emojigit and sfan5 authored Sep 1, 2024
1 parent 45ef266 commit 0dab776
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mods/default/functions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,7 @@ function default.dig_up(pos, node, digger, max_height)
in_dig_up = false
end

-- errors are hard to handle, instead we rely on resetting this value the next step
minetest.register_globalstep(function()
in_dig_up = false
end)
Expand Down

0 comments on commit 0dab776

Please sign in to comment.