mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 09:44:45 +01:00
Dungeon Finder: Limit the number of groups added to queue to one per update
--HG-- branch : trunk
This commit is contained in:
@@ -248,7 +248,7 @@ void LFGMgr::Update(uint32 diff)
|
||||
// Check if a proposal can be formed with the new groups being added
|
||||
LfgProposalList proposals;
|
||||
LfgGuidList firstNew;
|
||||
while(!m_newToQueue.empty())
|
||||
if (!m_newToQueue.empty())
|
||||
{
|
||||
firstNew.push_back(m_newToQueue.front());
|
||||
FindNewGroups(firstNew, m_currentQueue, &proposals);
|
||||
|
||||
Reference in New Issue
Block a user