fix(Core/Battleground): fix queue issue (#3116)

* Remove useless code that was only causing issue to the BG queue

* Prevent new Battlegrounds to start if there are already other Battlegrounds that have free slots

Co-authored-by Yehonal <yehonal.azeroth@gmail.com>
This commit is contained in:
Francesco Borzì
2020-06-14 23:12:24 +02:00
committed by GitHub
parent cccdb0a692
commit ebec48e6fd
3 changed files with 8 additions and 12 deletions
@@ -55,7 +55,7 @@ class BattlegroundQueue
BattlegroundQueue();
~BattlegroundQueue();
void BattlegroundQueueUpdate(BattlegroundBracketId bracket_id, uint8 actionMask, bool isRated, uint32 arenaRatedTeamId);
void BattlegroundQueueUpdate(BattlegroundBracketId bracket_id, bool isRated, uint32 arenaRatedTeamId);
void UpdateEvents(uint32 diff);
void FillPlayersToBG(Battleground* bg, const int32 aliFree, const int32 hordeFree, BattlegroundBracketId bracket_id);