fix(Core/DungeonFinder): Fixed joining to LFG dungeon if there is alr… (#10062)

* fix(Core/DungeonFinder): Fixed joining to LFG dungeon if there is already a LFG group inside it.iterator

Fixes #9824

* Buildfix.
This commit is contained in:
UltraNix
2022-01-30 13:48:00 +01:00
committed by GitHub
parent 21e7954e84
commit d9e1cf40c0
3 changed files with 16 additions and 3 deletions

View File

@@ -407,7 +407,7 @@ namespace lfg
}
proposal.queues = strGuids;
proposal.isNew = numLfgGroups != 1 || sLFGMgr->GetOldState(proposal.group) != LFG_STATE_DUNGEON;
proposal.isNew = numLfgGroups != 1;
if (!sLFGMgr->AllQueued(check)) // can't create proposal
return LFG_COMPATIBILITY_PENDING;