Add puncher to tnt_explosions
This commit is contained in:
parent
d4bc7a2f88
commit
6a576c50a0
3 changed files with 13 additions and 7 deletions
|
@ -210,7 +210,7 @@ function TNT:on_step(dtime)
|
|||
self.blinkstatus = not self.blinkstatus
|
||||
end
|
||||
if self.timer > tnt.BOOMTIMER then
|
||||
mcl_explosions.explode(self.object:get_pos(), 4, { drop_chance = 1.0 })
|
||||
mcl_explosions.explode(self.object:get_pos(), 4, { drop_chance = 1.0 }, self.object)
|
||||
self.object:remove()
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue