mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Ignore spectators for gentlemen's ping
This commit is contained in:
parent
464e3273a9
commit
90d415ccc0
1 changed files with 1 additions and 1 deletions
|
|
@ -5455,7 +5455,7 @@ static void UpdatePingTable(void)
|
||||||
{
|
{
|
||||||
if (playeringame[i] && playernode[i] > 0)
|
if (playeringame[i] && playernode[i] > 0)
|
||||||
{
|
{
|
||||||
if (! server_lagless && playernode[i] > 0)
|
if (! server_lagless && playernode[i] > 0 && !players[i].spectator)
|
||||||
{
|
{
|
||||||
lag = GetLag(playernode[i]);
|
lag = GetLag(playernode[i]);
|
||||||
realpingtable[i] += G_TicsToMilliseconds(lag);
|
realpingtable[i] += G_TicsToMilliseconds(lag);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue