mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-01-29 20:27:18 +00:00
Fixed issue with falsy issue within condition to get a stat for IV scanner
This commit is contained in:
parent
0e6c2952ca
commit
58bf18af88
@ -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…
x
Reference in New Issue
Block a user