Fix TNT script

This commit is contained in:
Perttu Ahola 2011-11-26 12:47:31 +02:00
parent 65b2a2cb02
commit b58dc083a9

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