mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-24 00:49:34 +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.blinktimer = self.blinktimer + dtime
|
||||
if self.blinktimer > 0.5 then
|
||||
self.blinktimer = self.blinktimer - 0.5
|
||||
if self.blinktimer > 0.25 then
|
||||
self.blinktimer = self.blinktimer - 0.25
|
||||
if self.blinkstatus then
|
||||
self.object:settexturemod("")
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue