mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-01 11:36:36 +00:00
[Crash] Fixes Crash when Zoning with XTarget when Bots are in group. (#3126)
This commit is contained in:
@@ -5457,6 +5457,7 @@ void Bot::ProcessBotOwnerRefDelete(Mob* botOwner) {
|
||||
if (tempBot) {
|
||||
tempBot->SetTarget(nullptr);
|
||||
tempBot->SetBotOwner(nullptr);
|
||||
tempBot->Zone();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user