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

bruh
This commit is contained in:
Alug committed 2023-11-05 22:17:46 +01:00
1 parent 5a163be5e8
commit 8d80118a72
1 file changed
+1 -1
+1 -1
View File
@@ -1458,7 +1458,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)));
}
}