Core/Groups: Move scattered group object deletion to Disband()
This commit is contained in:
@@ -1034,7 +1034,6 @@ void Battleground::RemovePlayerAtLeave(uint64 guid, bool Transport, bool SendPac
|
||||
if (!group->RemoveMember(guid)) // group was disbanded
|
||||
{
|
||||
SetBgRaid(team, NULL);
|
||||
delete group;
|
||||
}
|
||||
}
|
||||
DecreaseInvitedCount(team);
|
||||
|
||||
Reference in New Issue
Block a user