From c34617e133f6ad41c5371be937f4a0eabfbe4815 Mon Sep 17 00:00:00 2001 From: kadeshar Date: Sat, 24 May 2025 11:11:19 +0200 Subject: [PATCH] - Reverted arena join queue changes (#1333) --- src/strategy/actions/BattleGroundJoinAction.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/strategy/actions/BattleGroundJoinAction.cpp b/src/strategy/actions/BattleGroundJoinAction.cpp index 99f7973a..09523fd2 100644 --- a/src/strategy/actions/BattleGroundJoinAction.cpp +++ b/src/strategy/actions/BattleGroundJoinAction.cpp @@ -554,11 +554,9 @@ bool BGJoinAction::JoinQueue(uint32 type) } else { - WorldPacket* arena_packet = new WorldPacket(CMSG_BATTLEMASTER_JOIN_ARENA, 20); - *arena_packet << unit->GetGUID() << arenaslot << asGroup << uint8(isRated); - /// FIX race condition - // bot->GetSession()->HandleBattlemasterJoinArena(arena_packet); - bot->GetSession()->QueuePacket(arena_packet); + WorldPacket arena_packet(CMSG_BATTLEMASTER_JOIN_ARENA, 20); + arena_packet << unit->GetGUID() << arenaslot << asGroup << uint8(isRated); + bot->GetSession()->HandleBattlemasterJoinArena(arena_packet); } return true;