diff --git a/zone/bot.cpp b/zone/bot.cpp index 5541ede4d..125b08c94 100644 --- a/zone/bot.cpp +++ b/zone/bot.cpp @@ -465,6 +465,14 @@ Bot::~Bot() { } entity_list.RemoveBot(GetID()); + + if (GetGroup()) { + GetGroup()->DelMember(this); + } + + if (GetRaid()) { + GetRaid()->RemoveMember(GetName()); + } } void Bot::SetBotID(uint32 botID) {