Skip to content

Commit

Permalink
Merge pull request #560 from na-ji/fix/shiny-icon
Browse files Browse the repository at this point in the history
fix Pokemon icon not working with shinies
  • Loading branch information
TurtIeSocks authored Sep 5, 2022
2 parents 13d7adf + 3c7da3a commit 8c1cb36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/Icons.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ export default class UIcons {
const formSuffixes = form ? [`_f${form}`, ''] : ['']
const costumeSuffixes = costume ? [`_c${costume}`, ''] : ['']
const genderSuffixes = gender ? [`_g${gender}`, ''] : ['']
const shinySuffixes = shiny ? ['_shiny', ''] : ['']
const shinySuffixes = shiny ? ['_s', ''] : ['']
for (let e = 0; e < evolutionSuffixes.length; e += 1) {
for (let f = 0; f < formSuffixes.length; f += 1) {
for (let c = 0; c < costumeSuffixes.length; c += 1) {
Expand Down

0 comments on commit 8c1cb36

Please sign in to comment.