Set _isBotInitializing if randomBotAutologin=0 (#670)

This commit is contained in:
Yunfan Li
2024-11-03 23:21:37 +08:00
committed by GitHub
parent 7e74fbe181
commit 2f0f8ad496

View File

@@ -164,7 +164,10 @@ RandomPlayerbotMgr::RandomPlayerbotMgr() : PlayerbotHolder(), processTicks(0)
sPlayerbotCommandServer->Start();
PrepareTeleportCache();
}
if (!sPlayerbotAIConfig->randomBotAutologin)
{
setBotInitializing(false);
}
BattlegroundData.clear();
BgCheckTimer = 0;