mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-21 02:20:00 +01:00
Bot creation wait time
This commit is contained in:
parent
6e5fc18b9b
commit
2c82ea23e0
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user