break out of the for loop if we successfully find the instance
This commit is contained in:
parent
8a4eacdb70
commit
231ce9e9bb
@ -1928,6 +1928,8 @@ bool PlayerGroupManager::IdentifyMemberInGroupOrRaid(ZoneChangeDetails* details,
|
||||
}
|
||||
else {
|
||||
succeed = zone_list.GetZoneByInstance(details, (*itr)->instance_id, (*itr)->zone_id, true, false);
|
||||
if(succeed)
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user