Merge branch 'ping-catchup' into 'next'
Ping Catchup See merge request KartKrew/Kart-Public!302
This commit is contained in:
commit
df101848d1
1 file changed
+3
@@ -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];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user