Merge branch 'ping-catchup' into 'next'

Ping Catchup

See merge request KartKrew/Kart-Public!302
This commit is contained in:
Sal 2022-08-26 22:44:47 +00:00
commit df101848d1

View file

@ -6224,6 +6224,9 @@ INT32 D_NumPlayers(void)
tic_t GetLag(INT32 node)
{
// If the client has caught up to the server -- say, during a wipe -- lag is meaningless.
if (nettics[node] > gametic)
return 0;
return gametic - nettics[node];
}