Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
NLlemain authored Oct 24, 2024
1 parent 31525d5 commit 577d89c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion media/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ function update() {
};
}

if (Math.floor(playerScore) % 200 === 0 && Math.floor(playerScore) !== lastHeartScore && hearts < 5) {
if (Math.floor(playerScore) % 200 === 0 && Math.floor(playerScore) !== lastHeartScore && hearts < 3) {
hearts++;
lastHeartScore = Math.floor(playerScore);
newHP();
Expand Down

0 comments on commit 577d89c

Please sign in to comment.