1
0
Fork 0

Double the TNT blinking frequency

This commit is contained in:
Wuzzy 2017-03-11 21:00:49 +01:00
parent 91131dbdf0
commit 21f5f7eb2c
1 changed files with 2 additions and 2 deletions

View File

@ -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