bot: remove repeated, hardcoded prefixes for cvars

This commit is contained in:
jeefo 2023-07-21 21:43:36 +03:00
commit 18456c2a28
No known key found for this signature in database
GPG key ID: 927BCA0779BEA8ED
15 changed files with 116 additions and 100 deletions

View file

@ -7,9 +7,9 @@
#include <yapb.h>
ConVar cv_bind_menu_key ("yb_bind_menu_key", "=", "Binds specified key for opening bots menu.", false);
ConVar cv_ignore_cvars_on_changelevel ("yb_ignore_cvars_on_changelevel", "yb_quota,yb_autovacate", "Specifies comma separated list of bot cvars, that will not be overwritten by config on changelevel.", false);
ConVar cv_logger_disable_logfile ("yb_logger_disable_logfile", "0", "Disables logger to write anything to log file. Just spew content to the console.");
ConVar cv_bind_menu_key ("bind_menu_key", "=", "Binds specified key for opening bots menu.", false);
ConVar cv_ignore_cvars_on_changelevel ("ignore_cvars_on_changelevel", "yb_quota,yb_autovacate", "Specifies comma separated list of bot cvars, that will not be overwritten by config on changelevel.", false);
ConVar cv_logger_disable_logfile ("logger_disable_logfile", "0", "Disables logger to write anything to log file. Just spew content to the console.");
BotConfig::BotConfig () {
m_chat.resize (Chat::Count);