1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-11-04 16:35:03 -05:00

Set proper armor group for experimental:tnt

This commit is contained in:
Perttu Ahola 2012-03-09 20:53:54 +02:00
parent 8db89b8136
commit 6b7d6c27ee

View File

@ -330,7 +330,7 @@ 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:set_armor_groups({foo=1,bar=2})
self.object:set_armor_groups({immortal=1})
end
-- Called periodically