Skip to content

Commit

Permalink
fixed(?) egg glitch for real
Browse files Browse the repository at this point in the history
  • Loading branch information
ajhyperbit committed Aug 18, 2024
1 parent de5fd17 commit 3bae20b
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 @@ -76,9 +76,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 3bae20b

Please sign in to comment.