fixed bug
This commit is contained in:
parent
dcd194e9f4
commit
a6546dfb9e
|
|
@ -20,6 +20,7 @@ function load() {
|
||||||
/*Starts game functionality*/
|
/*Starts game functionality*/
|
||||||
function startGame() {
|
function startGame() {
|
||||||
document.getElementById("player").className = "character";
|
document.getElementById("player").className = "character";
|
||||||
|
lives = 3;
|
||||||
showDisplay("block");
|
showDisplay("block");
|
||||||
document.getElementById("start").style.display = "none";
|
document.getElementById("start").style.display = "none";
|
||||||
document.getElementsByClassName("weapon")[0].style.display = "none";
|
document.getElementsByClassName("weapon")[0].style.display = "none";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue