mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-19 17:38:26 +00:00
Fix for clients not dropping group after camping bots
This commit is contained in:
+5
-1
@@ -7465,9 +7465,13 @@ void Bot::DoEnduranceUpkeep() {
|
||||
void Bot::Camp(bool databaseSave) {
|
||||
Sit();
|
||||
|
||||
if(IsGrouped())
|
||||
auto group = GetGroup();
|
||||
if(group)
|
||||
RemoveBotFromGroup(this, GetGroup());
|
||||
|
||||
if (group->GroupCount() < 2)
|
||||
group->DisbandGroup();
|
||||
|
||||
LeaveHealRotationMemberPool();
|
||||
|
||||
if(databaseSave)
|
||||
|
||||
Reference in New Issue
Block a user