mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
- Reverted arena join queue changes (#1333)
This commit is contained in:
@@ -554,11 +554,9 @@ bool BGJoinAction::JoinQueue(uint32 type)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
WorldPacket* arena_packet = new WorldPacket(CMSG_BATTLEMASTER_JOIN_ARENA, 20);
|
WorldPacket arena_packet(CMSG_BATTLEMASTER_JOIN_ARENA, 20);
|
||||||
*arena_packet << unit->GetGUID() << arenaslot << asGroup << uint8(isRated);
|
arena_packet << unit->GetGUID() << arenaslot << asGroup << uint8(isRated);
|
||||||
/// FIX race condition
|
bot->GetSession()->HandleBattlemasterJoinArena(arena_packet);
|
||||||
// bot->GetSession()->HandleBattlemasterJoinArena(arena_packet);
|
|
||||||
bot->GetSession()->QueuePacket(arena_packet);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user