mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-25 01:19:33 +01:00
Double the TNT blinking frequency
This commit is contained in:
parent
91131dbdf0
commit
21f5f7eb2c
1 changed files with 2 additions and 2 deletions
|
@ -92,8 +92,8 @@ function TNT:on_step(dtime)
|
||||||
})
|
})
|
||||||
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.25 then
|
||||||
self.blinktimer = self.blinktimer - 0.5
|
self.blinktimer = self.blinktimer - 0.25
|
||||||
if self.blinkstatus then
|
if self.blinkstatus then
|
||||||
self.object:settexturemod("")
|
self.object:settexturemod("")
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue