diff --git a/mods/tnt/init.lua b/mods/tnt/init.lua index 8a519606eb..8e2ebaf5a1 100644 --- a/mods/tnt/init.lua +++ b/mods/tnt/init.lua @@ -72,7 +72,7 @@ local TNT = { function TNT:on_activate(staticdata) self.object:setvelocity({x=0, y=4, z=0}) self.object:setacceleration({x=0, y=-10, z=0}) - self.object:settexturemod("^[brighten") + self.object:settexturemod("^tnt_blink.png") end function TNT:on_step(dtime) @@ -85,7 +85,7 @@ function TNT:on_step(dtime) if self.blinkstatus then self.object:settexturemod("") else - self.object:settexturemod("^[brighten") + self.object:settexturemod("^tnt_blink.png") end self.blinkstatus = not self.blinkstatus end diff --git a/mods/tnt/textures/tnt_blink.png b/mods/tnt/textures/tnt_blink.png new file mode 100644 index 0000000000..b6739757d9 Binary files /dev/null and b/mods/tnt/textures/tnt_blink.png differ