Skip to content

Commit

Permalink
Quick patch
Browse files Browse the repository at this point in the history
  • Loading branch information
briarsychung committed Dec 15, 2021
1 parent 9f93882 commit 4dbb232
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/game.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ class Game {
if (this.players[0].fade === 0 || this.players[1].fade === 0) {
this.deaths++;
this.resetLevel();
} else if (level.goals[0].player && level.goals[1].player) {
} else if (level.goals.length > 1 && level.goals[0].player && level.goals[1].player) {
this.queueLevel();
}
} else {
Expand Down
2 changes: 1 addition & 1 deletion modules/generator.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ class Generator {
let bossB = new Boss({ x: 1016, y: 360 });
boss.addBoss(bossB);

let bossC = new Combiner({ x: 1016, y: 408 });
let bossC = new Combiner({ x: 1016, y: 440 });
boss.addCombiner(bossC);

let bossD = new Dialogue(bossB,
Expand Down

3 comments on commit 4dbb232

@anematode
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LETS GOOOOOO

@anematode
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WHo's wathahing on Christams Eve??

@anematode
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A

Please sign in to comment.