mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-25 03:12:09 +01:00
Core/Battlegrounds: Avoid teleport players when relogin inside Strand of the Ancients (#27414)
(cherry picked from commit d3b6d9a38c)
This commit is contained in:
@@ -483,7 +483,8 @@ void BattlegroundSA::AddPlayer(Player* player)
|
||||
|
||||
SendTransportInit(player);
|
||||
|
||||
TeleportToEntrancePosition(player);
|
||||
if (!isInBattleground)
|
||||
TeleportToEntrancePosition(player);
|
||||
}
|
||||
|
||||
void BattlegroundSA::RemovePlayer(Player* /*player*/, ObjectGuid /*guid*/, uint32 /*team*/) { }
|
||||
|
||||
Reference in New Issue
Block a user