Death customisation (kinda rough for now)
This commit is contained in:
parent
b269fc556c
commit
0d85b3252c
@ -27,9 +27,16 @@ minetest.register_on_dieplayer(function(player, reason)
|
|||||||
p_stats.deaths = p_stats.deaths +1
|
p_stats.deaths = p_stats.deaths +1
|
||||||
p_stats.killstreak = 0
|
p_stats.killstreak = 0
|
||||||
|
|
||||||
|
arena_lib.on_death(arena, p_name)
|
||||||
|
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|
||||||
|
function arena_lib.on_death(arena, p_name)
|
||||||
|
--DO STUFF, override me if you need to
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
minetest.register_on_respawnplayer(function(player)
|
minetest.register_on_respawnplayer(function(player)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user