fix ping command showing a random players ms ping instead of your ping

This commit is contained in:
Alug 2023-11-21 15:27:46 +01:00
parent 62294dfe35
commit 3dce66a5c5
1 changed files with 1 additions and 1 deletions

View File

@ -1464,7 +1464,7 @@ void Command_Ping_f(void)
if (!server && playeringame[consoleplayer])
{
CONS_Printf("\nYour ping is %d frames (%d ms)\n", playerpingtable[consoleplayer], (INT32)(playerpingtable[i] * (1000.00f / TICRATE)));
CONS_Printf("\nYour ping is %d frames (%d ms)\n", playerpingtable[consoleplayer], (INT32)(playerpingtable[consoleplayer] * (1000.00f / TICRATE)));
}
}