Merge pull request #3616 from Opaque02/iv-scanner-stats-fix
[Bug] Fixed issue with falsy issue within condition to get a stat for IV scanner
This commit is contained in:
commit
c2b79a803d
|
@ -226,7 +226,7 @@ export default class BattleMessageUiHandler extends MessageUiHandler {
|
|||
highestIv = ivs[s];
|
||||
}
|
||||
});
|
||||
if (shownStat) {
|
||||
if (shownStat !== null && shownStat !== undefined) {
|
||||
shownStats.push(shownStat);
|
||||
statsPool.splice(statsPool.indexOf(shownStat), 1);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue