From 2f0f8ad496fc522c1575d8f89f527f415326780d Mon Sep 17 00:00:00 2001 From: Yunfan Li <56597220+liyunfan1223@users.noreply.github.com> Date: Sun, 3 Nov 2024 23:21:37 +0800 Subject: [PATCH] Set _isBotInitializing if randomBotAutologin=0 (#670) --- src/RandomPlayerbotMgr.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/RandomPlayerbotMgr.cpp b/src/RandomPlayerbotMgr.cpp index ca9049ec..a0446707 100644 --- a/src/RandomPlayerbotMgr.cpp +++ b/src/RandomPlayerbotMgr.cpp @@ -164,7 +164,10 @@ RandomPlayerbotMgr::RandomPlayerbotMgr() : PlayerbotHolder(), processTicks(0) sPlayerbotCommandServer->Start(); PrepareTeleportCache(); } - + if (!sPlayerbotAIConfig->randomBotAutologin) + { + setBotInitializing(false); + } BattlegroundData.clear(); BgCheckTimer = 0;