mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-26 15:16:24 +00:00
fix (Core/Wintergrasp) Icon now disappears when player leaves queue (#21619)
Co-authored-by: Hexadecimal <hd@hd.hd>
This commit is contained in:
@@ -403,6 +403,8 @@ void Battlefield::AskToLeaveQueue(Player* player)
|
||||
{
|
||||
// Remove player from queue
|
||||
m_PlayersInQueue[player->GetTeamId()].erase(player->GetGUID());
|
||||
// Send notification
|
||||
player->GetSession()->SendBfLeaveMessage(m_BattleId, BF_LEAVE_REASON_CLOSE);
|
||||
}
|
||||
|
||||
// Called in WorldSession::HandleHearthAndResurrect
|
||||
|
||||
Reference in New Issue
Block a user