TNT: Fix falling nodes not being updated
This commit is contained in:
parent
205a042843
commit
b3790dfa56
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user