Core/Battlegrounds: Avoid teleport players when relogin inside Strand of the Ancients (#27414)

(cherry picked from commit d3b6d9a38c)
This commit is contained in:
Gildor
2021-12-16 19:24:57 +01:00
committed by Shauren
parent 9dabdf7724
commit a37f9b6693

View File

@@ -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*/) { }