Skip to content

Commit 260c57d

Browse files
committed
fix
1 parent 95c6170 commit 260c57d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

play.pokemonshowdown.com/src/battle-dex.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -823,7 +823,7 @@ const Dex = new class implements ModdedDex {
823823
spriteid = species.spriteid || toID(pokemon.species);
824824
}
825825
// 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
826-
if (species.num <= 0 || species.name.endsWith('megag')) {
826+
if (species.num <= 0 || species.id.endsWith('megag')) {
827827
return {
828828
spriteDir: 'sprites/custom', spriteid, x: 15, y: 15, isCustom: true,
829829
};

0 commit comments

Comments
 (0)