Skip to content

Commit

Permalink
Merge pull request #25 from Rezzo64/main
Browse files Browse the repository at this point in the history
Fix Old Gens Non-Fairies Type Overriding
  • Loading branch information
Rezzo64 authored Dec 5, 2023
2 parents c5b94a5 + 63f0149 commit 506280b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion play.pokemonshowdown.com/js/client-teambuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -1336,7 +1336,7 @@
buf += '</div>';
buf += '<div class="setcell setcell-typeicons">';
var types = species.types;
var table = (this.curTeam.gen < 7 ? BattleTeambuilderTable['gen' + this.curTeam.gen] : null);
var table = BattleTeambuilderTable(this.curTeam.mod);
if (
table && table.overrideDexInfo && species.id in table.overrideDexInfo &&
table.overrideDexInfo[species.id].types
Expand Down

0 comments on commit 506280b

Please sign in to comment.