Check for falling nodes after cutting with chainsaw

This commit is contained in:
OgelGames 2019-09-04 22:43:28 +10:00
parent d260bb0245
commit 36e48cba32
1 changed files with 3 additions and 0 deletions

View File

@ -325,6 +325,9 @@ local function recursive_dig(pos, remaining_charge)
handle_drops(minetest.get_node_drops(node.name, ""))
minetest.remove_node(pos)
remaining_charge = remaining_charge - chainsaw_charge_per_node
-- Check for snow on pine trees, etc
minetest.check_for_falling(pos)
-- Check surroundings and run recursively if any charge left
for npos in iterSawTries(pos) do