mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-14 15:11:05 +01:00
Rename TNT smoke texture
This commit is contained in:
parent
21638f053c
commit
0bc7f6e912
2 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ end
|
||||||
|
|
||||||
function TNT:on_step(dtime)
|
function TNT:on_step(dtime)
|
||||||
local pos = self.object:getpos()
|
local pos = self.object:getpos()
|
||||||
minetest.add_particle({x=pos.x,y=pos.y+0.5,z=pos.z}, {x=math.random(-.1,.1),y=math.random(1,2),z=math.random(-.1,.1)}, {x=0,y=-0.1,z=0}, math.random(.5,1),math.random(1,2), false, "mcl_tnt_smoke.png")
|
minetest.add_particle({x=pos.x,y=pos.y+0.5,z=pos.z}, {x=math.random(-.1,.1),y=math.random(1,2),z=math.random(-.1,.1)}, {x=0,y=-0.1,z=0}, math.random(.5,1),math.random(1,2), false, "tnt_smoke.png")
|
||||||
self.timer = self.timer + dtime
|
self.timer = self.timer + dtime
|
||||||
self.blinktimer = self.blinktimer + dtime
|
self.blinktimer = self.blinktimer + dtime
|
||||||
if self.blinktimer > 0.5 then
|
if self.blinktimer > 0.5 then
|
||||||
|
|
Before Width: | Height: | Size: 144 B After Width: | Height: | Size: 144 B |
Loading…
Reference in a new issue