mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-02-11 18:55:53 +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];
|
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