Skip to content

Commit

Permalink
fixed(?) egg glitch
Browse files Browse the repository at this point in the history
  • Loading branch information
ajhyperbit committed Aug 17, 2024
1 parent 442382c commit d512322
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/egg-hatch-phase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@ export class EggHatchPhase extends Phase {

const eggIndex = this.scene.gameData.eggs.findIndex(e => e.id === this.egg.id);

if (eggIndex === -1) {
/*if (eggIndex === -1) {
return this.end();
}
}*/

this.scene.gameData.eggs.splice(eggIndex, 1);

Expand Down

0 comments on commit d512322

Please sign in to comment.