This commit is contained in:
Elkien3 2018-07-02 11:18:52 -05:00
parent 868024cac9
commit 00f668d923

View File

@ -80,7 +80,10 @@ THROWING_ARROW_ENTITY.on_step = function(self, dtime)
local tnt = minetest.find_node_near(self.lastpos, 1, {"tnt:tnt"}) local tnt = minetest.find_node_near(self.lastpos, 1, {"tnt:tnt"})
if tnt then if tnt then
boom(tnt) minetest.sound_play("tnt_ignite", {pos=tnt})
minetest.set_node(tnt, {name="tnt:tnt_burning"})
local timer = minetest.get_node_timer(tnt)
timer:set(4, 4)
end end
else else
local toughness = 0.9 local toughness = 0.9