Skip to content

Commit

Permalink
Update LowLevelArena.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Kitzunu committed Jul 19, 2024
1 parent 8d054e8 commit 37aa68d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/LowLevelArena.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ void LLA::AddQueue(Player* leader)
BattlegroundTypeId bgTypeId = bgt->GetBgTypeID();

// expected bracket entry
PvPDifficultyEntry const* bracketEntry = GetBattlegroundBracketByLevel(bgt->GetMapId(), leader->getLevel());
PvPDifficultyEntry const* bracketEntry = GetBattlegroundBracketByLevel(bgt->GetMapId(), leader->GetLevel());
if (!bracketEntry)
return;

Expand Down Expand Up @@ -240,7 +240,7 @@ void LLA::Reward(Battleground* /*bg*/, TeamId /*winnerTeamId*/)

//for (auto const& [guid, player] : bg->GetPlayers())
//{
// auto bracketEntry = GetBattlegroundBracketByLevel(bg->GetMapId(), player->getLevel());
// auto bracketEntry = GetBattlegroundBracketByLevel(bg->GetMapId(), player->GetLevel());
// auto levelsString = Warhead::ToString(bracketEntry->minLevel) + "." + Warhead::ToString(bracketEntry->minLevel);
// auto configIsEnable = Warhead::StringFormat("LLA.%s.Enable", levelsString.c_str());

Expand Down

0 comments on commit 37aa68d

Please sign in to comment.