mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-05-07 08:53:30 +01:00
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];
|
highestIv = ivs[s];
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
if (shownStat) {
|
if (shownStat !== null && shownStat !== undefined) {
|
||||||
shownStats.push(shownStat);
|
shownStats.push(shownStat);
|
||||||
statsPool.splice(statsPool.indexOf(shownStat), 1);
|
statsPool.splice(statsPool.indexOf(shownStat), 1);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user