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:
parent
9a6078a262
commit
00df52ff19
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue