remove next check delay log

This commit is contained in:
Yunfan Li 2023-05-30 17:08:59 +08:00
parent a486b3d44f
commit 167509c83d

View File

@ -29,13 +29,13 @@ void PlayerbotAIBase::UpdateAI(uint32 elapsed, bool minimal)
void PlayerbotAIBase::SetNextCheckDelay(uint32 const delay) void PlayerbotAIBase::SetNextCheckDelay(uint32 const delay)
{ {
if (nextAICheckDelay < delay) // if (nextAICheckDelay < delay)
LOG_DEBUG("playerbots", "Setting lesser delay {} -> {}", nextAICheckDelay, delay); // LOG_DEBUG("playerbots", "Setting lesser delay {} -> {}", nextAICheckDelay, delay);
nextAICheckDelay = delay; nextAICheckDelay = delay;
if (nextAICheckDelay > sPlayerbotAIConfig->globalCoolDown) // if (nextAICheckDelay > sPlayerbotAIConfig->globalCoolDown)
LOG_DEBUG("playerbots", "std::set next check delay: {}", nextAICheckDelay); // LOG_DEBUG("playerbots", "std::set next check delay: {}", nextAICheckDelay);
} }
void PlayerbotAIBase::IncreaseNextCheckDelay(uint32 delay) void PlayerbotAIBase::IncreaseNextCheckDelay(uint32 delay)