diff --git a/src/client/component/patches.cpp b/src/client/component/patches.cpp index ef6a6b7d..9ea0deb6 100644 --- a/src/client/component/patches.cpp +++ b/src/client/component/patches.cpp @@ -67,7 +67,8 @@ namespace patches void set_client_dvar_from_server_stub(void* clientNum, void* cgameGlob, const char* dvar, const char* value) { - if (dvar == "cg_fov"s || dvar == "cg_fovMin"s) + const auto dvar_lowercase = utils::string::to_lower(dvar); + if (dvar_lowercase == "cg_fov"s || dvar_lowercase == "cg_fovMin"s) { return; }