[Bots] Fix bot removal on zone, regression from #3611 (#3631)

This commit is contained in:
Chris Miles 2023-10-15 19:46:07 -05:00 committed by GitHub
parent 4bbb1aa92f
commit a1a861e0c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -467,7 +467,7 @@ Bot::~Bot() {
entity_list.RemoveBot(GetID()); entity_list.RemoveBot(GetID());
if (GetGroup()) { if (GetGroup()) {
GetGroup()->DelMember(this); GetGroup()->MemberZoned(this);
} }
if (GetRaid()) { if (GetRaid()) {