This commit is contained in:
Brian Oost
2024-05-28 05:36:02 +02:00
parent 3879b5116e
commit a336c8bf93
4 changed files with 4 additions and 4 deletions

View File

@@ -501,7 +501,7 @@ uint32 RandomPlayerbotMgr::AddRandomBots()
for (uint32 &guid : guids) {
uint32 add_time = sPlayerbotAIConfig->enableRotation ?
urand(sPlayerbotAIConfig->minRandomBotInWorldTime, sPlayerbotAIConfig->maxRandomBotInWorldTime) :
sPlayerbotAIConfig->randomBotInWorldWithRotaionDisabled;
sPlayerbotAIConfig->randomBotInWorldWithRotationDisabled;
SetEventValue(guid, "add", 1, add_time);
SetEventValue(guid, "logout", 0, 0);