mirror of
https://github.com/minetest/minetest.git
synced 2024-11-10 01:33:46 +01:00
Fix TNT script
This commit is contained in:
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user