Core/Dungeon Finder: Remove disconnected players from LFG queue
Fix LFG queue issues by removing disconnected players from LFG queue and their party with them.
This commit is contained in:
1 parent
fc17d1a941
commit
b7f9836d22
4 files changed
+6
-3
No files matched your search
@@ -44,6 +44,8 @@ void LFGPlayerScript::OnLogout(Player* player)
|
||||
player->GetSession()->SendLfgLfrList(false);
|
||||
sLFGMgr->LeaveLfg(player->GetGUID());
|
||||
}
|
||||
else if (player->GetSession()->PlayerDisconnected())
|
||||
sLFGMgr->LeaveLfg(player->GetGUID(), true);
|
||||
}
|
||||
|
||||
void LFGPlayerScript::OnLogin(Player* player, bool /*loginFirst*/)
|
||||
|
||||
Reference in new issue
Block a user