mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-20 13:23:45 -07:00
fix: update cvar usage from merge
This commit is contained in:
parent
52b182d4dc
commit
d9662ab63b
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue