Skip to content

Commit

Permalink
Fix death counter
Browse files Browse the repository at this point in the history
  • Loading branch information
44100hertz committed Jan 24, 2024
1 parent 8aae52e commit 9c7d7ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion games/redbricks/game.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ function load() {
setTimeout(introduceLevel, 2000);
break;
case "die":
playfield.showMessage(getDeathMessage(deathCount));
++deathCount;
playfield.showMessage(getDeathMessage(deathCount));
setTimeout(start, 1000);
break;
case "outOfLevels":
Expand Down

0 comments on commit 9c7d7ae

Please sign in to comment.