dont mess up realpingtable

when serverplayer has mindelay active
this was supposed to show mindelay for serverplayers but that doesent work :chaosleep: so just do not mess with it
This commit is contained in:
Alug committed 2025-01-23 21:55:37 +01:00
1 parent 230962c8c2
commit 86712703d7
1 file changed
+2 -1
+2 -1
View File
@@ -6670,7 +6670,6 @@ static void UpdatePingTable(void)
{
if (playeringame[i] && playernode[i] > 0 && playernode[i] != UINT8_MAX)
{
// TicsToMilliseconds can't handle pings over 1000ms lol
realpingtable[i] += GetLag(playernode[i]);
if (!players[i].spectator)
@@ -6690,6 +6689,7 @@ static void UpdatePingTable(void)
pingmeasurecount++;
#if 0
switch (playerpernode[0])
{
case 4:
@@ -6704,6 +6704,7 @@ static void UpdatePingTable(void)
case 1:
realpingtable[nodetoplayer[0]] = lowest_lag;
}
#endif
}
else // We're a client, handle mindelay on the way out.
{