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

This commit is contained in:
Ovahlord
2019-05-31 17:35:51 +02:00
parent 9788cc54a1
commit 4b5ad5168d
11 changed files with 428 additions and 331 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);
}