From c319ca7456d0ac6be09574848b1373811d21c6ac Mon Sep 17 00:00:00 2001 From: Edo Date: Thu, 13 Apr 2023 15:26:59 +0200 Subject: [PATCH] [Dvar]: Update comment (#924) --- src/Components/Modules/Dvar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/Modules/Dvar.cpp b/src/Components/Modules/Dvar.cpp index 2ee57d5d..a732a894 100644 --- a/src/Components/Modules/Dvar.cpp +++ b/src/Components/Modules/Dvar.cpp @@ -486,7 +486,7 @@ namespace Components Utils::Hook(0x636608, SetFromStringByNameExternal, HOOK_CALL).install()->quick(); Utils::Hook(0x636695, SetFromStringByNameExternal, HOOK_CALL).install()->quick(); - // Hook Dvar_SetFromStringByName inside CG_SetClientDvarFromServer so we can reset dvars when the player leaves the server + // Hook Dvar_SetFromStringByName inside CG_SetClientDvarFromServer so we can protect dvars Utils::Hook(0x59386A, DvarSetFromStringByName_Stub, HOOK_CALL).install()->quick(); // For debugging