mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
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:
parent
726b5c9fbc
commit
5f5bbb9164
@ -647,6 +647,8 @@ void ConVar::InternalSetValue(const char* value)
|
|||||||
if (g_pCVar && !g_pCVar->IsMaterialThreadSetAllowed())
|
if (g_pCVar && !g_pCVar->IsMaterialThreadSetAllowed())
|
||||||
{
|
{
|
||||||
g_pCVar->QueueMaterialThreadSetValue(this, value);
|
g_pCVar->QueueMaterialThreadSetValue(this, value);
|
||||||
|
|
||||||
|
if (!IsFlagSet(FCVAR_STUDIO_SYSTEM))
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user