Add puncher to tnt_explosions

This commit is contained in:
Wuzzy 2020-05-02 18:21:44 +02:00
parent d4bc7a2f88
commit 6a576c50a0
3 changed files with 13 additions and 7 deletions

View file

@ -183,7 +183,7 @@ minetest.register_on_dieplayer(function(player, reason)
-- Player
elseif hitter:is_player() then
hittername = hitter:get_player_name()
if hittername ~= nil and hittername ~= name then
if hittername ~= nil then
msg = dmsg("murder", name, hittername)
else
msg = dmsg("murder_any", name)