mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 09:07:19 +00:00
performance optimize
This commit is contained in:
@@ -48,7 +48,7 @@ void PlayerbotAIBase::IncreaseNextCheckDelay(uint32 delay)
|
||||
|
||||
bool PlayerbotAIBase::CanUpdateAI()
|
||||
{
|
||||
return nextAICheckDelay < 100;
|
||||
return nextAICheckDelay == 0;
|
||||
}
|
||||
|
||||
void PlayerbotAIBase::YieldThread(bool delay)
|
||||
|
||||
Reference in New Issue
Block a user