Skip to content

Commit

Permalink
chore: rename TierV2 -> Tier
Browse files Browse the repository at this point in the history
  • Loading branch information
beheh committed Sep 19, 2024
1 parent 97bb2be commit a5a6cfc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class BattlegroundsSingleHeroViewModel : ViewModel
public BattlegroundsSingleHeroViewModel(BattlegroundsHeroPickStats.BattlegroundsSingleHeroPickStats? stats, Action<bool> onPlacementHover)
{
HeroDbfId = stats?.HeroDbfId;
BgsHeroHeaderVM = new(stats?.TierV2, stats?.AvgPlacement, stats?.PickRate, stats?.PlacementDistribution ?? Enumerable.Repeat(0.0, 8).ToArray(), onPlacementHover);
BgsHeroHeaderVM = new(stats?.Tier, stats?.AvgPlacement, stats?.PickRate, stats?.PlacementDistribution ?? Enumerable.Repeat(0.0, 8).ToArray(), onPlacementHover);
BgsCompsPopularityVM = stats?.FirstPlaceCompPopularity != null ? new(stats.FirstPlaceCompPopularity) : null;
// Hide the "No composition data" message in Duos (unless we start having Comp data there).
CompositionsVisibility = Core.Game.IsBattlegroundsDuosMatch && BgsCompsPopularityVM == null ? Collapsed : Visible;
Expand Down

0 comments on commit a5a6cfc

Please sign in to comment.