mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-19 09:31:07 +01:00
Simple mob explosion smoke
This commit is contained in:
parent
45a2e5ed0d
commit
f00b0fe7ac
1 changed files with 1 additions and 1 deletions
|
@ -2794,7 +2794,7 @@ function mobs:explosion(pos, radius, fire, smoke, sound)
|
||||||
minetest.set_node(p, {name = "air"})
|
minetest.set_node(p, {name = "air"})
|
||||||
|
|
||||||
if smoke > 0 then
|
if smoke > 0 then
|
||||||
effect(p, 2, "tnt_smoke.png")
|
effect(p, 2, "tnt_smoke.png", 3*radius, 5*radius, radius, 0)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue