Removed bot freezing at startup and system message, not relevant anymore (#1519)

This commit is contained in:
bash
2025-08-10 19:11:39 +02:00
committed by GitHub
parent 15f138aab0
commit bcd6f5bc06
3 changed files with 2 additions and 16 deletions

View File

@@ -4214,19 +4214,6 @@ bool PlayerbotAI::AllowActive(ActivityType activityType)
}
}
// only keep updating till initializing time has completed,
// which prevents unneeded expensive GameTime calls.
if (_isBotInitializing)
{
_isBotInitializing = GameTime::GetUptime().count() < sPlayerbotAIConfig->maxRandomBots * 0.11;
// no activity allowed during bot initialization
if (_isBotInitializing)
{
return false;
}
}
// General exceptions
if (activityType == PACKET_ACTIVITY)
{