From b4b3eeee10190a523696349c47d24511f91213cf Mon Sep 17 00:00:00 2001 From: Spp Date: Tue, 28 Sep 2010 17:49:30 +0200 Subject: [PATCH] Core/Dungeon Finder: Do not allow to join LFG if queued to Battleground or Arena --HG-- branch : trunk --- src/server/game/DungeonFinding/LFGMgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/game/DungeonFinding/LFGMgr.cpp b/src/server/game/DungeonFinding/LFGMgr.cpp index 939a48b1dc..79bd537e5b 100644 --- a/src/server/game/DungeonFinding/LFGMgr.cpp +++ b/src/server/game/DungeonFinding/LFGMgr.cpp @@ -576,7 +576,7 @@ void LFGMgr::Join(Player* plr) sLog.outError("LFGMgr::Join: [" UI64FMTD "] trying to join but is already in queue! Forcing leave before readding", guid); Leave(plr, grp); } - else if (plr->InBattleground() || plr->InArena()) + else if (plr->InBattleground() || plr->InArena() || plr->InBattlegroundQueue()) result = LFG_JOIN_USING_BG_SYSTEM; else if (plr->HasAura(LFG_SPELL_DUNGEON_DESERTER)) result = LFG_JOIN_DESERTER;