Skip to content

Commit

Permalink
adapt to new static centered images
Browse files Browse the repository at this point in the history
  • Loading branch information
Himyu committed Aug 6, 2023
1 parent e555c00 commit aa94b62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/gfx-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ const updateUi = (data) => {
data.participants[championMapping[num][0] - 1].perks.perkConstants
const runesRight =
data.participants[championMapping[num][1] - 1].perks.perkConstants
const splashLinkLeft = `/serve/module-league-static/img/champion/centered/${championLeft.key}.jpg`
const splashLinkRight = `/serve/module-league-static/img/champion/centered/${championRight.key}.jpg`
const splashLinkLeft = `/serve/module-league-static/img/champion/centered/${championLeft.id}_0.jpg`
const splashLinkRight = `/serve/module-league-static/img/champion/centered/${championRight.id}_0.jpg`

const runesLeftFull = getDDragonPathsFromRunes(runesLeft)
const runesRightFull = getDDragonPathsFromRunes(runesRight)
Expand Down

0 comments on commit aa94b62

Please sign in to comment.