mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-10-02 15:53:11 -05:00
Fix |updatepoke| (#1784)
This commit is contained in:
@@ -3297,7 +3297,7 @@ class Battle {
|
||||
const side = this.sides[siden];
|
||||
for (let i = 0; i < side.pokemon.length; i++) {
|
||||
const pokemon = side.pokemon[i];
|
||||
if (pokemon.checkDetails(args[2])) {
|
||||
if (pokemon.details !== args[2] && pokemon.checkDetails(args[2])) {
|
||||
side.addPokemon('', '', args[2], i);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user