TNT: Fix falling nodes not being updated

This commit is contained in:
Wuzzy 2019-11-04 19:59:52 +01:00
parent 205a042843
commit b3790dfa56
1 changed files with 3 additions and 0 deletions

View File

@ -201,6 +201,7 @@ function tnt.explode(pos, radius, sound)
p.z = pos.z + z
if cid ~= c_air then
destroy(drops, p, cid)
minetest.check_single_for_falling({x=p.x, y=p.y+1, z=p.z})
end
end
vi = vi + 1
@ -220,6 +221,8 @@ function tnt.boom(pos)
entity_physics(pos, tnt_radius)
eject_drops(drops, pos, tnt_radius)
add_effects(pos, tnt_radius)
else
minetest.check_single_for_falling({x=pos.x, y=pos.y+1, z=pos.z})
end
end