Skip to content

Commit

Permalink
maybe bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
W4IT-Dev committed Feb 23, 2023
1 parent 563b6ed commit 6ae734b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion JS/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function startGame() {
player.src = "img/game/0.png";
player.img.src = player.src;
footer.innerHTML = '<div id="softleft">Pause</div>';
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;
Expand Down

0 comments on commit 6ae734b

Please sign in to comment.