Tier1: only return out early on material thread convars without FCVAR_STUDIO_SYSTEM

Anything belonging to the model datacache must have its value changed here too, based on how its implemented in the game engine.
This commit is contained in:
Kawe Mazidjatari 2025-01-24 11:30:02 +01:00
parent 726b5c9fbc
commit 5f5bbb9164

View File

@ -647,7 +647,9 @@ void ConVar::InternalSetValue(const char* value)
if (g_pCVar && !g_pCVar->IsMaterialThreadSetAllowed())
{
g_pCVar->QueueMaterialThreadSetValue(this, value);
return;
if (!IsFlagSet(FCVAR_STUDIO_SYSTEM))
return;
}
}