mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 10:26:28 +01:00
*fix arena join if start rating is set to 0
note: rating == 0 is used by BattlegroundQueue for update stuff --HG-- branch : trunk
This commit is contained in:
@@ -701,6 +701,9 @@ void WorldSession::HandleBattlemasterJoinArena(WorldPacket & recv_data)
|
||||
arenaRating = avg_pers_rating;
|
||||
}
|
||||
|
||||
if (arenaRating <= 0)
|
||||
arenaRating = 1;
|
||||
|
||||
BattleGroundQueue &bgQueue = sBattleGroundMgr.m_BattleGroundQueues[bgQueueTypeId];
|
||||
if (asGroup)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user