fix bot resurrect bot problem

This commit is contained in:
Yunfan Li
2023-07-14 15:37:07 +08:00
parent 09ea9ecf1e
commit 53afe66b8e

View File

@@ -63,7 +63,7 @@ Unit* PartyMemberValue::FindPartyMember(FindPlayerPredicate& predicate, bool ign
if (master)
masters.push_back(master);
for (ObjectGuid const guid : nearestPlayers)
for (ObjectGuid const guid : nearestGroupPlayers)
{
Player* player = botAI->GetPlayer(guid);
if (!player)