diff options
| author | Gooyeth <566327+Gooyeth@users.noreply.github.com> | 2018-05-26 08:41:12 -0600 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2021-09-26 21:36:48 +0200 |
| commit | 27572359563078edacf42e7b62cf0e6f2ad4b3b2 (patch) | |
| tree | 8d9a2c92e68dc7007293c415892a2e64f44c7b60 | |
| parent | cfb048e8d48fa84a866367769cba4c113e5e23a5 (diff) | |
Core/Battleground: Fixed a problem that did not let Arenas queue if it was in queue of Random Battleground (#21963)
(cherry picked from commit 5871c3675069b85d83ff8ee4b63e1be6fc9d9aea)
| -rw-r--r-- | src/server/game/Groups/Group.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Groups/Group.cpp b/src/server/game/Groups/Group.cpp index 0b9b825129c..b024a0bf7d5 100644 --- a/src/server/game/Groups/Group.cpp +++ b/src/server/game/Groups/Group.cpp @@ -1846,7 +1846,7 @@ GroupJoinBattlegroundResult Group::CanJoinBattlegroundQueue(Battleground const* // don't let join if someone from the group is in bg queue random bool isInRandomBgQueue = member->InBattlegroundQueueForBattlegroundQueueType(BattlegroundMgr::BGQueueTypeId(BATTLEGROUND_RB, BattlegroundQueueIdType::Battleground, false, 0)) || member->InBattlegroundQueueForBattlegroundQueueType(BattlegroundMgr::BGQueueTypeId(BATTLEGROUND_RANDOM_EPIC, BattlegroundQueueIdType::Battleground, false, 0)); - if (isInRandomBgQueue) + if (bgOrTemplate->GetTypeID() != BATTLEGROUND_AA && isInRandomBgQueue) 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 || bgOrTemplate->GetTypeID() == BATTLEGROUND_RANDOM_EPIC) && member->InBattlegroundQueue(true) && !isInRandomBgQueue) |
