From 6ae734b048bb216337eabfa79b556a896833a458 Mon Sep 17 00:00:00 2001 From: W4IT-Dev <110252354+W4IT-Dev@users.noreply.github.com> Date: Thu, 23 Feb 2023 16:52:23 +0100 Subject: [PATCH] maybe bug fix --- JS/functions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/JS/functions.js b/JS/functions.js index 9488a75..beaa140 100644 --- a/JS/functions.js +++ b/JS/functions.js @@ -53,7 +53,7 @@ function startGame() { player.src = "img/game/0.png"; player.img.src = player.src; footer.innerHTML = '
Pause
'; - startScreen.style.display = gameOverScreen[0].style.display = credits.startGame.display = 'none'; + startScreen.style.display = gameOverScreen[0].style.display = credits.style.display = 'none'; scoreDisplay[0].innerText = 'Score: 0'; scoreDisplay[0].style.display = 'block'; ingame = true;