Core/Dungeon Finder: Add support for dungeon cooldown and luck of the draw spells
--HG-- branch : trunk
This commit is contained in:
@@ -321,7 +321,8 @@ bool Group::AddMember(const uint64 &guid, const char* name)
|
||||
Player *player = sObjectMgr.GetPlayer(guid);
|
||||
if (player)
|
||||
{
|
||||
sLFGMgr.Leave(player);
|
||||
if (player->isUsingLfg())
|
||||
sLFGMgr.Leave(player);
|
||||
if (!IsLeader(player->GetGUID()) && !isBGGroup())
|
||||
{
|
||||
// reset the new member's instances, unless he is currently in one of them
|
||||
|
||||
Reference in New Issue
Block a user