mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-01-31 05:07:11 +00:00
Fix infinite looping when Pokerus selections generate a loop
This commit is contained in:
parent
8845d43784
commit
2feb82e674
@ -415,6 +415,8 @@ export default class StarterSelectUiHandler extends MessageUiHandler {
|
||||
let dupe = false;
|
||||
|
||||
do {
|
||||
dupe = false;
|
||||
|
||||
generateSpecies();
|
||||
|
||||
for (let pc = 0; pc < c; pc++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user