From e66680881bf9a9891b9cfe0716bde187a989738d Mon Sep 17 00:00:00 2001 From: Amos Date: Thu, 17 Aug 2023 01:56:42 +0200 Subject: [PATCH] Add 'sv_clockcorrection_msecs' cvar to SDK --- r5dev/common/global.cpp | 2 ++ r5dev/common/global.h | 1 + 2 files changed, 3 insertions(+) diff --git a/r5dev/common/global.cpp b/r5dev/common/global.cpp index a03a11c8..969e2c78 100644 --- a/r5dev/common/global.cpp +++ b/r5dev/common/global.cpp @@ -105,6 +105,7 @@ ConVar* sv_forceChatToTeamOnly = nullptr; ConVar* sv_single_core_dedi = nullptr; ConVar* sv_maxunlag = nullptr; +ConVar* sv_clockcorrection_msecs = nullptr; ConVar* sv_updaterate_sp = nullptr; ConVar* sv_updaterate_mp = nullptr; @@ -519,6 +520,7 @@ void ConVar_InitShipped(void) sv_stats = g_pCVar->FindVar("sv_stats"); sv_maxunlag = g_pCVar->FindVar("sv_maxunlag"); + sv_clockcorrection_msecs = g_pCVar->FindVar("sv_clockcorrection_msecs"); sv_updaterate_sp = g_pCVar->FindVar("sv_updaterate_sp"); sv_updaterate_mp = g_pCVar->FindVar("sv_updaterate_mp"); diff --git a/r5dev/common/global.h b/r5dev/common/global.h index 7a4fbc77..69ca4ed6 100644 --- a/r5dev/common/global.h +++ b/r5dev/common/global.h @@ -94,6 +94,7 @@ extern ConVar* sv_forceChatToTeamOnly; extern ConVar* sv_single_core_dedi; extern ConVar* sv_maxunlag; +extern ConVar* sv_clockcorrection_msecs; extern ConVar* sv_updaterate_sp; extern ConVar* sv_updaterate_mp;