Fix stretched particles
parent
dbd9f17f7c
commit
ca8d3dce8b
4
init.lua
4
init.lua
|
@ -20,10 +20,10 @@ local function add_fire(pos, duration)
|
|||
end
|
||||
pos.y = pos.y+0.19
|
||||
minetest.add_particle(pos, null, null, duration,
|
||||
1.5, true, "torches_fire"..tostring(math.random(1,2)) ..".png")
|
||||
3.0, true, "torches_fire"..tostring(math.random(1,2)) ..".png")
|
||||
pos.y = pos.y +0.01
|
||||
minetest.add_particle(pos, null, null, duration-0.3,
|
||||
1.5, true, "torches_fire"..tostring(math.random(1,2)) ..".png")
|
||||
3.0, true, "torches_fire"..tostring(math.random(1,2)) ..".png")
|
||||
end
|
||||
|
||||
--help functions
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 429 B After Width: | Height: | Size: 509 B |
Binary file not shown.
Before Width: | Height: | Size: 582 B After Width: | Height: | Size: 662 B |
Loading…
Reference in New Issue