mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-03-21 17:25:10 -05:00
That's the last time I assume I know what "this" will refer to in JavaScript.
This commit is contained in:
parent
9fe5cc2e3a
commit
a479cf87ea
|
|
@ -522,7 +522,7 @@ function BattlePokemon(set, side)
|
|||
{
|
||||
for (var i=0; i<type.length; i++)
|
||||
{
|
||||
if (this.hasType(type[i])) return true;
|
||||
if (selfP.hasType(type[i])) return true;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user