diff options
Diffstat (limited to 'src/server/game/Battlegrounds/Arena.cpp')
-rw-r--r-- | src/server/game/Battlegrounds/Arena.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Battlegrounds/Arena.cpp b/src/server/game/Battlegrounds/Arena.cpp index 9bd9aa3b192..d90a18bc153 100644 --- a/src/server/game/Battlegrounds/Arena.cpp +++ b/src/server/game/Battlegrounds/Arena.cpp @@ -39,10 +39,10 @@ Arena::Arena(BattlegroundTemplate const* battlegroundTemplate) : Battleground(ba StartMessageIds[BG_STARTING_EVENT_FOURTH] = ARENA_TEXT_START_BATTLE_HAS_BEGUN; } -void Arena::AddPlayer(Player* player) +void Arena::AddPlayer(Player* player, BattlegroundQueueTypeId queueId) { bool const isInBattleground = IsPlayerInBattleground(player->GetGUID()); - Battleground::AddPlayer(player); + Battleground::AddPlayer(player, queueId); if (!isInBattleground) PlayerScores[player->GetGUID()] = new ArenaScore(player->GetGUID(), player->GetBGTeam()); |