diff --git a/media/js/script.js b/media/js/script.js index 123254d..c14ee8b 100644 --- a/media/js/script.js +++ b/media/js/script.js @@ -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();