mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/PacketIO: Updated and enabled LFG packets
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