cfg: update primary config with actual cvars and descriptions
This commit is contained in:
parent
9e67232c07
commit
5d6efef494
3 changed files with 30 additions and 16 deletions
|
|
@ -76,7 +76,7 @@ void BotConfig::loadMainConfig (bool isFirstLoad) {
|
|||
if (needsToIgnoreVar (ignore, key) && !strings.matches (value, cvar->string)) {
|
||||
|
||||
// preserve quota number if it's zero
|
||||
if (strings.matches (cvar->name, "yb_quota") && cv_quota.int_ () <= 0) {
|
||||
if (cv_quota.name () == cvar->name && cv_quota.int_ () <= 0) {
|
||||
engfuncs.pfnCvar_DirectSet (cvar, value);
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue