Core/Packets: updated more lfg packets to new packet class handling

This commit is contained in:
Ovahlord committed 2019-05-31 17:35:51 +02:00
1 parent 9788cc54a1
commit 4b5ad5168d
11 files changed
+428 -331

No files matched your search

@@ -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);
}