Added debug check for log output

Debug check added to log info when checking if bot is on a player's friend list
This commit is contained in:
jimm0thy
2025-03-03 15:28:34 -05:00
parent 5afea4a2b2
commit dcea8b2828

View File

@@ -429,7 +429,10 @@ static bool IsBotSafeForLevelReset(Player* bot)
if (friendCount >= 1) if (friendCount >= 1)
{ {
LOG_INFO("server.loading", "[BotLevelBrackets] Bot {} (Level {}) is on a Real Player's friends list", bot->GetName(), bot->GetLevel()); if (g_BotDistFullDebugMode)
{
LOG_INFO("server.loading", "[BotLevelBrackets] Bot {} (Level {}) is on a Real Player's friends list", bot->GetName(), bot->GetLevel());
}
return false; return false;
} }
} }