mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-26 17:29:30 +02:00
Fix starter UI handler
Game crash when you start a new game
This commit is contained in:
parent
2279753aea
commit
41870812b4
@ -2593,9 +2593,6 @@ export default class StarterSelectUiHandler extends MessageUiHandler {
|
||||
this.starterSelectCallback = null;
|
||||
originalStarterSelectCallback(new Array(this.starterGens.length).fill(0).map(function (_, i) {
|
||||
const starterSpecies = thisObj.genSpecies[thisObj.starterGens[i]][thisObj.starterCursors[i]];
|
||||
if (this.scene.disableDailyShinies) {
|
||||
starterSpecies.luckOverride = 0;
|
||||
}
|
||||
return {
|
||||
species: starterSpecies,
|
||||
dexAttr: thisObj.starterAttr[i],
|
||||
|
Loading…
Reference in New Issue
Block a user