mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-20 06:58:20 +00:00
always check for last time kill
This commit is contained in:
parent
fda4fd3320
commit
42f661ae70
|
@ -312,8 +312,7 @@ void mods_message(int msgtype, int client_id)
|
|||
}
|
||||
else if (msgtype == NETMSGTYPE_CL_KILL)
|
||||
{
|
||||
//PLAYER *pplayer = get_player(client_id);
|
||||
if(config.sv_spamprotection && p->last_kill+time_freq()*3 > time_get())
|
||||
if(p->last_kill+time_freq()*3 > time_get())
|
||||
return;
|
||||
|
||||
p->last_kill = time_get();
|
||||
|
|
Loading…
Reference in a new issue