From 36a2e1dff73c76377a7db7047dd21efafbe3f2e6 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Mon, 30 May 2022 14:31:07 -0400 Subject: [PATCH] Core/Battlegrounds: Avoid teleport players when relogin inside Strand of the Ancients Port From (https://github.com/TrinityCore/TrinityCore/commit/a37f9b6693c74176bdbf0730e952ef7f05701cd1) --- Source/Game/BattleGrounds/Zones/StrandofAncients.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Game/BattleGrounds/Zones/StrandofAncients.cs b/Source/Game/BattleGrounds/Zones/StrandofAncients.cs index 80794c1ec..cfab014fd 100644 --- a/Source/Game/BattleGrounds/Zones/StrandofAncients.cs +++ b/Source/Game/BattleGrounds/Zones/StrandofAncients.cs @@ -488,7 +488,8 @@ namespace Game.BattleGrounds.Zones SendTransportInit(player); - TeleportToEntrancePosition(player); + if (!isInBattleground) + TeleportToEntrancePosition(player); } public override void RemovePlayer(Player player, ObjectGuid guid, Team team) { }