rollback reactDelay

This commit is contained in:
Yunfan Li
2023-07-14 13:00:17 +08:00
parent d5f0553b53
commit 034934a034

View File

@@ -54,7 +54,7 @@ bool PlayerbotAIBase::CanUpdateAI()
void PlayerbotAIBase::YieldThread(bool delay) void PlayerbotAIBase::YieldThread(bool delay)
{ {
if (nextAICheckDelay < sPlayerbotAIConfig->reactDelay) if (nextAICheckDelay < sPlayerbotAIConfig->reactDelay)
nextAICheckDelay = delay ? sPlayerbotAIConfig->reactDelay * 10 : sPlayerbotAIConfig->reactDelay * 5; nextAICheckDelay = delay ? sPlayerbotAIConfig->reactDelay * 10 : sPlayerbotAIConfig->reactDelay;
} }
bool PlayerbotAIBase::IsActive() bool PlayerbotAIBase::IsActive()