mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 03:15:41 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user