Skip to content

Commit

Permalink
Merge pull request odota#2016 from Crazy-Duck/master
Browse files Browse the repository at this point in the history
Update rank star icons
  • Loading branch information
howardchung authored Jan 31, 2019
2 parents 1f0a84a + 1a46da5 commit 686edee
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 2 deletions.
Binary file modified public/assets/images/dota2/rank_icons/rank_star_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/assets/images/dota2/rank_icons/rank_star_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/assets/images/dota2/rank_icons/rank_star_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/assets/images/dota2/rank_icons/rank_star_4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/assets/images/dota2/rank_icons/rank_star_5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/components/Player/Header/PlayerHeader.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,8 @@ const getRankTierMedal = (rankTier, leaderboardRank) => {

if (star < 1) { // I'm not sure if ranktier can give a number outside this range but better safe than sorry
star = 1;
} else if (star > 5) {
star = 5;
} else if (star > 7) {
star = 7;
}

const starPath = `/assets/images/dota2/rank_icons/rank_star_${star}.png`;
Expand Down

0 comments on commit 686edee

Please sign in to comment.