Giocatori perdono una kill se si suicidano

master
Marco 2020-04-21 00:10:14 +02:00
parent 6a6556a798
commit 36b961068b
1 changed files with 6 additions and 1 deletions

View File

@ -89,8 +89,13 @@ end)
arena_lib.on_death("quake", function(arena, p_name)
arena_lib.on_death("quake", function(arena, p_name, reason)
quake.update_HUD(arena, p_name, "DTS_data", arena.players[p_name].deaths)
if reason == "fall" then
arena.players[p_name].kills = arena.players[p_name].kills - 1
end
end)