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;