mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-25 06:26:24 +00: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