mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
rollback reactDelay
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user