- Reverted arena join queue changes (#1333)

This commit is contained in:
kadeshar
2025-05-24 11:11:19 +02:00
committed by GitHub
parent a4ff66f12a
commit c34617e133

View File

@@ -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;