Check more nodes for falling after explosion

This commit is contained in:
Wuzzy 2020-06-04 23:43:17 +02:00
parent 56d49e08b8
commit 2d6e0a99af

View file

@ -346,11 +346,11 @@ local function trace_explode(pos, strength, raydirs, radius, drop_chance, fire,
-- Update falling nodes -- Update falling nodes
for a=1, #airs do for a=1, #airs do
local p = airs[a] local p = airs[a]
minetest.check_single_for_falling({x=p.x, y=p.y+1, z=p.z}) minetest.check_for_falling({x=p.x, y=p.y+1, z=p.z})
end end
for f=1, #fires do for f=1, #fires do
local p = fires[f] local p = fires[f]
minetest.check_single_for_falling({x=p.x, y=p.y+1, z=p.z}) minetest.check_for_falling({x=p.x, y=p.y+1, z=p.z})
end end
-- Log explosion -- Log explosion