LFG - Queue again after dungeon (PR #883)

People should now be able to queue again, after last boss is killed.

(Closes issue #856)

Commits:

* fix:Dungeon Queue - Not working(#856)

* only the leader can re-queue

* Update LFGHandler.cpp
This commit is contained in:
ayase
2018-05-30 04:57:22 +08:00
committed by Barbz
parent 1b8ea19e1a
commit 064bbd9270
2 changed files with 3 additions and 2 deletions

View File

@@ -42,7 +42,7 @@ void WorldSession::HandleLfgJoinOpcode(WorldPacket& recvData)
// pussywizard:
if (Group* g = GetPlayer()->GetGroup())
if (g->isLFGGroup() ? g->GetMembersCount() == MAXGROUPSIZE : g->GetLeaderGUID() != GetPlayer()->GetGUID())
if (g->isLFGGroup() && g->GetLeaderGUID() != GetPlayer()->GetGUID())
{
recvData.rfinish();
return;