File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -125,6 +125,11 @@ void QueueListCache::UpdateArenaNonRated()
125125 continue ;
126126
127127 auto arenaTypeString = Acore::StringFormat (" {}v{}" , arenaType, arenaType);
128+ constexpr uint32 ARENA_TYPE_3v3_SOLO = 4 ;
129+ if (arenaType == ARENA_TYPE_3v3_SOLO) {
130+ arenaTypeString = Acore::StringFormat (" 3v3soloQ" );
131+ }
132+
128133 uint32 playersNeed = ArenaTeam::GetReqPlayersForType (arenaType);
129134 uint32 minLevel = std::min (bracketEntry->minLevel , (uint32)80 );
130135 uint32 maxLevel = std::min (bracketEntry->maxLevel , (uint32)80 );
@@ -157,8 +162,9 @@ void QueueListCache::UpdateArenaNonRated()
157162 }
158163 };
159164
165+ constexpr uint32 BATTLEGROUND_QUEUE_3v3_SOLO = 12 ; // this allows to include queue_1v1 (battleground_queue value 11) and 3v3soloQ (12)
160166 // Non rated arena
161- for (uint8 qtype = BATTLEGROUND_QUEUE_2v2; qtype < BATTLEGROUND_QUEUE_5v5 ; ++qtype)
167+ for (uint8 qtype = BATTLEGROUND_QUEUE_2v2; qtype <= BATTLEGROUND_QUEUE_3v3_SOLO ; ++qtype)
162168 for (uint8 bracket = BG_BRACKET_ID_FIRST; bracket < MAX_BATTLEGROUND_BRACKETS; ++bracket)
163169 AddCache (BattlegroundQueueTypeId (qtype), BattlegroundBracketId (bracket));
164170}
You can’t perform that action at this time.
0 commit comments