diff options
Diffstat (limited to 'data/mods/default')
-rw-r--r-- | data/mods/default/init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/data/mods/default/init.lua b/data/mods/default/init.lua index b9af94be6..88f457e29 100644 --- a/data/mods/default/init.lua +++ b/data/mods/default/init.lua @@ -1195,12 +1195,12 @@ function TNT:on_step(dtime) self.blinktimer = self.blinktimer + dtime if self.blinktimer > 0.5 then self.blinktimer = self.blinktimer - 0.5 - if blinkstatus then + if self.blinkstatus then self.object:settexturemod("") else self.object:settexturemod("^[brighten") end - blinkstatus = not blinkstatus + self.blinkstatus = not self.blinkstatus end end |