From f8205c8b674c932d646dd29177bfc743dc671dda Mon Sep 17 00:00:00 2001 From: Andrew <47818697+Nyeriah@users.noreply.github.com> Date: Wed, 27 May 2026 23:28:16 -0300 Subject: [PATCH] fix(Core/Wintergrasp): remove redundant chamber teleport on battle start (#26004) Co-authored-by: Xfurry Co-authored-by: Claude Opus 4.7 (1M context) --- .../game/Battlefield/Zones/BattlefieldWG.cpp | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/src/server/game/Battlefield/Zones/BattlefieldWG.cpp b/src/server/game/Battlefield/Zones/BattlefieldWG.cpp index e1be38223..c0f14fbe5 100644 --- a/src/server/game/Battlefield/Zones/BattlefieldWG.cpp +++ b/src/server/game/Battlefield/Zones/BattlefieldWG.cpp @@ -296,19 +296,7 @@ void BattlefieldWG::OnBattleStart() capturePoint->SetCapturePointData(capturePoint->GetCapturePointGo(), capturePoint->GetCapturePointGo()->GetEntry() == GO_WINTERGRASP_FACTORY_BANNER_SE || capturePoint->GetCapturePointGo()->GetEntry() == GO_WINTERGRASP_FACTORY_BANNER_SW ? GetAttackerTeam() : GetDefenderTeam()); - for (uint8 team = 0; team < 2; ++team) - for (ObjectGuid const& guid : Players[team]) - { - // Kick player in orb room, TODO: offline player ? - if (Player* player = ObjectAccessor::FindPlayer(guid)) - { - float x, y, z; - player->GetPosition(x, y, z); - if (5500 > x && x > 5392 && y < 2880 && y > 2800 && z < 480) - player->TeleportTo(MAP_NORTHREND, 5349.8686f, 2838.481f, 409.240f, 0.046328f); - SendInitWorldStatesTo(player); - } - } + SendInitWorldStatesToAll(); // Initialize vehicle counter UpdateCounterVehicle(true); // Send start warning to all players