From ef208207fdd4fc0e20e9daedc5f5a3166caf54a2 Mon Sep 17 00:00:00 2001 From: Sergey Shorokhov Date: Mon, 24 Apr 2023 14:05:42 +0300 Subject: [PATCH] fix: `bot_profile_db` CVar use --- regamedll/dlls/bot/cs_bot_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regamedll/dlls/bot/cs_bot_manager.cpp b/regamedll/dlls/bot/cs_bot_manager.cpp index 482180120..4a6269ff6 100644 --- a/regamedll/dlls/bot/cs_bot_manager.cpp +++ b/regamedll/dlls/bot/cs_bot_manager.cpp @@ -78,7 +78,7 @@ CCSBotManager::CCSBotManager() char *dataPointer = (char *)LOAD_FILE_FOR_ME((char *)filename, &dataLength); if (!dataPointer) { - TheBotProfiles->Init("BotProfile.db"); + TheBotProfiles->Init(cv_bot_profile_db.string); } else {