From 577d89c6b62be6ecd1f323a64f0b6d36020d3922 Mon Sep 17 00:00:00 2001 From: Ninian <6039724@mborijnland.nl> Date: Thu, 24 Oct 2024 22:16:59 +0200 Subject: [PATCH] Update script.js --- media/js/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();