Fix ping measurement off-by-one that slightly underestimates ping measurements

This commit is contained in:
toaster 2022-10-26 13:50:35 +01:00
parent 289de329eb
commit 33e35b7e13
1 changed files with 1 additions and 1 deletions

View File

@ -6054,7 +6054,7 @@ static inline void PingUpdate(void)
if (nodeingame[i])
HSendPacket(i, true, 0, sizeof(INT32) * (MAXPLAYERS+1));
pingmeasurecount = 1; //Reset count
pingmeasurecount = 0; //Reset count
}
static tic_t gametime = 0;