forked from VoxeLibre/VoxeLibre
Double the TNT blinking frequency
This commit is contained in:
parent
91131dbdf0
commit
21f5f7eb2c
|
@ -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 New Issue