This commit is contained in:
James Diefenbach 2024-08-25 12:12:13 +10:00
parent 190003c349
commit 91b8b69ec3
2 changed files with 2 additions and 2 deletions

View File

@ -115,7 +115,7 @@ export class EggLapsePhase extends Phase {
this.eggHatchData.push(newHatchData);
}, egg.id, EGG_SEED.toString());
return newHatchData;
return newHatchData!;
}
}

View File

@ -23,7 +23,7 @@ export class EggSummaryPhase extends Phase {
if (i >= this.eggHatchData.length) {
console.log("displayed all pokemon");
this.scene.ui.setModeForceTransition(Mode.EGG_HATCH_SUMMARY, this.eggHatchData).then(() => {
this.scene.fadeOutBgm(null, false);
this.scene.fadeOutBgm(undefined, false);
this.eggHatchHandler = this.scene.ui.getHandler() as EggHatchSceneHandler;
});