fix (Core/Wintergrasp) hearthstone was visibly on cooldown when player left WG (#21620)

Co-authored-by: Hexadecimal <hd@hd.hd>
This commit is contained in:
p-tkachuk
2025-03-01 21:53:05 +01:00
committed by GitHub
parent 9a6078a262
commit 00df52ff19

View File

@@ -410,8 +410,8 @@ void Battlefield::AskToLeaveQueue(Player* player)
// Called in WorldSession::HandleHearthAndResurrect
void Battlefield::PlayerAskToLeave(Player* player)
{
// Player leaving Wintergrasp, trigger Hearthstone spell.
player->CastSpell(player, 8690, true);
// Player leaving Wintergrasp, teleport to homebind possition.
player->TeleportTo(player->m_homebindMapId, player->m_homebindX, player->m_homebindY, player->m_homebindZ, player->GetOrientation());
}
// Called in WorldSession::HandleBfEntryInviteResponse