Skip to content

Commit

Permalink
fix: bot_profile_db CVar use (#827)
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyShorokhov authored Jul 11, 2023
1 parent 6375ea5 commit 6da11fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion regamedll/dlls/bot/cs_bot_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit 6da11fa

Please sign in to comment.