mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 09:07:19 +00:00
Bot creation wait time
This commit is contained in:
@@ -538,7 +538,7 @@ void RandomPlayerbotFactory::CreateRandomBots()
|
||||
{
|
||||
LOG_INFO("playerbots", "Waiting for {} characters loading into database...", bot_creation);
|
||||
/* wait for characters load into database, or characters will fail to loggin */
|
||||
std::this_thread::sleep_for(10s);
|
||||
std::this_thread::sleep_for(5s + bot_creation * 5ms);
|
||||
}
|
||||
|
||||
for (WorldSession* session : sessionBots)
|
||||
|
||||
Reference in New Issue
Block a user