Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DieterReinert committed May 3, 2024
1 parent 95c6170 commit 260c57d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion play.pokemonshowdown.com/src/battle-dex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,7 @@ const Dex = new class implements ModdedDex {
spriteid = species.spriteid || toID(pokemon.species);
}
// if it doesn't exist then add it so you don't get a broken image lol it's a custom client you can easily add the image
if (species.num <= 0 || species.name.endsWith('megag')) {
if (species.num <= 0 || species.id.endsWith('megag')) {
return {
spriteDir: 'sprites/custom', spriteid, x: 15, y: 15, isCustom: true,
};
Expand Down

0 comments on commit 260c57d

Please sign in to comment.