Fix infinite looping when Pokerus selections generate a loop
parent
8845d43784
commit
2feb82e674
|
@ -415,6 +415,8 @@ export default class StarterSelectUiHandler extends MessageUiHandler {
|
||||||
let dupe = false;
|
let dupe = false;
|
||||||
|
|
||||||
do {
|
do {
|
||||||
|
dupe = false;
|
||||||
|
|
||||||
generateSpecies();
|
generateSpecies();
|
||||||
|
|
||||||
for (let pc = 0; pc < c; pc++) {
|
for (let pc = 0; pc < c; pc++) {
|
||||||
|
|
Loading…
Reference in New Issue