Core/Dungeon finder: Fix teleport out after dungeon is finished

Closes 8914
This commit is contained in:
Spp
2013-01-13 16:15:28 +01:00
parent 8be3d4cc80
commit 4c247f5d2d
3 changed files with 14 additions and 2 deletions

View File

@@ -483,7 +483,7 @@ LfgCompatibility LFGQueue::CheckCompatibility(LfgGuidList check)
uint64 gguid = *check.begin();
proposal.queues = check;
proposal.isNew = numLfgGroups != 1 || !sLFGMgr->GetDungeon(gguid);
proposal.isNew = numLfgGroups != 1 || sLFGMgr->GetOldState(gguid) != LFG_STATE_DUNGEON;
if (!sLFGMgr->AllQueued(check))
{