Fix infinite looping when Pokerus selections generate a loop

This commit is contained in:
Flashfyre 2024-03-30 20:14:09 -04:00
parent 8845d43784
commit 2feb82e674
1 changed files with 2 additions and 0 deletions

View File

@ -415,6 +415,8 @@ export default class StarterSelectUiHandler extends MessageUiHandler {
let dupe = false;
do {
dupe = false;
generateSpecies();
for (let pc = 0; pc < c; pc++) {