fix: bot_profile_db CVar use (#827)

This commit is contained in:
Sergey Shorokhov 2023-07-11 03:09:11 +03:00 committed by GitHub
parent 6375ea5504
commit 6da11fa4dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
{