Core/Battleground: Fixed a problem that did not let Arenas queue if it was in queue of Random Battleground (#21963)
This commit is contained in:
1 parent
a4ad5205cc
commit
fa6f91105f
1 file changed
+1
-1
@@ -2045,7 +2045,7 @@ GroupJoinBattlegroundResult Group::CanJoinBattlegroundQueue(Battleground const*
|
||||
if (member->InBattlegroundQueueForBattlegroundQueueType(bgQueueTypeId))
|
||||
return ERR_BATTLEGROUND_JOIN_FAILED; // not blizz-like
|
||||
// don't let join if someone from the group is in bg queue random
|
||||
if (member->InBattlegroundQueueForBattlegroundQueueType(bgQueueTypeIdRandom))
|
||||
if (bgOrTemplate->GetTypeID() != BATTLEGROUND_AA && member->InBattlegroundQueueForBattlegroundQueueType(bgQueueTypeIdRandom))
|
||||
return ERR_IN_RANDOM_BG;
|
||||
// don't let join to bg queue random if someone from the group is already in bg queue
|
||||
if (bgOrTemplate->GetTypeID() == BATTLEGROUND_RB && member->InBattlegroundQueue())
|
||||
|
||||
Reference in new issue
Block a user