Core/PacketIO: Updated and enabled LFG packets

This commit is contained in:
Shauren
2017-07-12 00:05:41 +02:00
parent 42622aa3d4
commit 0d06fcee17
22 changed files with 1249 additions and 721 deletions

View File

@@ -42,10 +42,7 @@ void LFGPlayerScript::OnLogout(Player* player)
return;
if (!player->GetGroup())
{
player->GetSession()->SendLfgLfrList(false);
sLFGMgr->LeaveLfg(player->GetGUID());
}
else if (player->GetSession()->PlayerDisconnected())
sLFGMgr->LeaveLfg(player->GetGUID(), true);
}