mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 02:04:52 +01:00
Core/Packets: updated more lfg packets to new packet class handling
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user