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

This commit is contained in:
Gildor
2021-12-16 19:24:57 +01:00
committed by GitHub
parent 7ae525d5e5
commit d3b6d9a38c

View File

@@ -489,7 +489,8 @@ void BattlegroundSA::AddPlayer(Player* player)
SendTransportInit(player);
TeleportToEntrancePosition(player);
if (!isInBattleground)
TeleportToEntrancePosition(player);
}
void BattlegroundSA::RemovePlayer(Player* /*player*/, ObjectGuid /*guid*/, uint32 /*team*/) { }