fix: update cvar usage from merge
This commit is contained in:
@@ -498,7 +498,7 @@ extern "C" void InitOTR() {
|
|||||||
#ifdef ENABLE_CROWD_CONTROL
|
#ifdef ENABLE_CROWD_CONTROL
|
||||||
CrowdControl::Instance = new CrowdControl();
|
CrowdControl::Instance = new CrowdControl();
|
||||||
CrowdControl::Instance->Init();
|
CrowdControl::Instance->Init();
|
||||||
if (CVar_GetS32("gCrowdControl", 0)) {
|
if (CVarGetInteger("gCrowdControl", 0)) {
|
||||||
CrowdControl::Instance->Enable();
|
CrowdControl::Instance->Enable();
|
||||||
} else {
|
} else {
|
||||||
CrowdControl::Instance->Disable();
|
CrowdControl::Instance->Disable();
|
||||||
|
|||||||
Reference in New Issue
Block a user