Fix computation of very high pings

This commit is contained in:
Louis-Antoine 2020-06-26 15:34:26 +02:00
parent 65054bd0aa
commit 82dbe95e22
1 changed files with 1 additions and 1 deletions

View File

@ -5499,7 +5499,7 @@ void NetUpdate(void)
// update node latency values so we can take an average later.
for (i = 0; i < MAXPLAYERS; i++)
if (playeringame[i] && playernode[i] != UINT8_MAX)
realpingtable[i] += G_TicsToMilliseconds(GetLag(playernode[i]));
realpingtable[i] += GetLag(playernode[i]) * (1000.00f / TICRATE);
pingmeasurecount++;
}