[Dvar]: Update comment (#924)

This commit is contained in:
Edo 2023-04-13 15:26:59 +02:00 committed by GitHub
parent 4cea559dc4
commit c319ca7456
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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