mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-04-25 07:57:01 -05:00
Fix Gen 3 status move listing in teambuilder
This commit is contained in:
parent
f782ba807c
commit
55506a8881
|
|
@ -1610,7 +1610,7 @@
|
|||
var type = move.type;
|
||||
if (table && id in table.overrideMoveType) type = table.overrideMoveType[id];
|
||||
buf += Dex.getTypeIcon(type);
|
||||
var category = this.gen > 3 ? move.category : Dex.getGen3Category(type);
|
||||
var category = this.gen > 3 || move.category === 'Status' ? move.category : Dex.getGen3Category(type);
|
||||
buf += '<img src="' + Dex.resourcePrefix + 'sprites/categories/' + category + '.png" alt="' + category + '" height="14" width="32" />';
|
||||
buf += '</span> ';
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user