From 8d80118a72041baddbd46a0c6bb6b0430908fed6 Mon Sep 17 00:00:00 2001 From: Alug Date: Sun, 5 Nov 2023 22:17:46 +0100 Subject: [PATCH] fix ping command showing a random players ms ping instead of your ping bruh --- src/d_net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/d_net.c b/src/d_net.c index 9c11d710b..a4cc3a3be 100644 --- a/src/d_net.c +++ b/src/d_net.c @@ -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))); } }