PT_SAY: Fix index reuse in spam handler

This commit is contained in:
AJ Martinez 2023-04-29 17:46:45 -07:00
parent 346a778365
commit eae6c2fa80

View file

@ -6840,7 +6840,7 @@ void NetUpdate(void)
if (server) if (server)
{ {
for(; (i<MAXPLAYERS); i++) for(i = 0; i < MAXPLAYERS; i++)
{ {
if (stop_spamming[i] > 0) if (stop_spamming[i] > 0)
stop_spamming[i]--; stop_spamming[i]--;