Fix candy menu not showing for species with only 1 starter move
This commit is contained in:
parent
608c024749
commit
61ce0887ef
|
@ -784,6 +784,7 @@ export default class StarterSelectUiHandler extends MessageUiHandler {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
}
|
||||||
const starterData = this.scene.gameData.starterData[this.lastSpecies.speciesId];
|
const starterData = this.scene.gameData.starterData[this.lastSpecies.speciesId];
|
||||||
const candyCount = starterData.candyCount;
|
const candyCount = starterData.candyCount;
|
||||||
const passiveAttr = starterData.passiveAttr;
|
const passiveAttr = starterData.passiveAttr;
|
||||||
|
@ -880,7 +881,6 @@ export default class StarterSelectUiHandler extends MessageUiHandler {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
|
||||||
options.push({
|
options.push({
|
||||||
label: 'Cancel',
|
label: 'Cancel',
|
||||||
handler: () => {
|
handler: () => {
|
||||||
|
|
Loading…
Reference in New Issue