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
|
// Check if a proposal can be formed with the new groups being added
|
||||||
LfgProposalList proposals;
|
LfgProposalList proposals;
|
||||||
LfgGuidList firstNew;
|
LfgGuidList firstNew;
|
||||||
while(!m_newToQueue.empty())
|
if (!m_newToQueue.empty())
|
||||||
{
|
{
|
||||||
firstNew.push_back(m_newToQueue.front());
|
firstNew.push_back(m_newToQueue.front());
|
||||||
FindNewGroups(firstNew, m_currentQueue, &proposals);
|
FindNewGroups(firstNew, m_currentQueue, &proposals);
|
||||||
|
|||||||
Reference in New Issue
Block a user