Skip to content
Snippets Groups Projects
Commit 5091c19a authored by LJ Sonic's avatar LJ Sonic
Browse files

Kick clients that fail to catch up with server gamelogic

parent 1cd73315
No related branches found
No related tags found
1 merge request!1208Kick clients that fail to catch up with server gamelogic
......@@ -5611,8 +5611,13 @@ void NetUpdate(void)
firstticstosend = gametic;
for (i = 0; i < MAXNETNODES; i++)
if (nodeingame[i] && nettics[i] < firstticstosend)
{
firstticstosend = nettics[i];
if (maketic + 1 >= nettics[i] + BACKUPTICS)
Net_ConnectionTimeout(i);
}
// Don't erase tics not acknowledged
counts = realtics;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment