Death customisation (kinda rough for now)

This commit is contained in:
Marco 2020-04-08 19:01:35 +02:00
parent b269fc556c
commit 0d85b3252c

View File

@ -27,9 +27,16 @@ minetest.register_on_dieplayer(function(player, reason)
p_stats.deaths = p_stats.deaths +1
p_stats.killstreak = 0
arena_lib.on_death(arena, p_name)
end)
function arena_lib.on_death(arena, p_name)
--DO STUFF, override me if you need to
end
minetest.register_on_respawnplayer(function(player)