Update life.js

This commit is contained in:
Kyle
2019-08-15 18:56:55 -07:00
parent 5cae518215
commit 96783f1876

View File

@@ -239,13 +239,13 @@ function updatePlayerBoxes() {
}
}
playerList[n - 1].life += lifeAdjust
// alert("I clicked on " + n + "!")
// console.log(lifeAdjust)
// alert("Their life total is now " + playerList[n - 1].life)
drawPlayerBox(n)
} else {
playerList[n - 1].firection = "none"
playerList[n - 1].holdTime = 0
}
} //else {
// playerList[n - 1].firection = "none"
// playerList[n - 1].holdTime = 0
// }
}
// if (i == touchX.length - 1) {
// //At the end, start the loop!