mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
- Reverted arena join queue changes (#1333)
This commit is contained in:
parent
a4ff66f12a
commit
c34617e133
@ -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;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user