From d48e8b5f500b4080fda974ae3cc8ef808d52d9ac Mon Sep 17 00:00:00 2001 From: Kyle <41976328+ImKyle4815@users.noreply.github.com> Date: Thu, 15 Aug 2019 18:33:21 -0700 Subject: [PATCH] Update life.js --- data/life/life.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/data/life/life.js b/data/life/life.js index 7358fecd..d7c64f48 100644 --- a/data/life/life.js +++ b/data/life/life.js @@ -242,11 +242,9 @@ function updatePlayerBoxes() { // alert("I clicked on " + n + "!") // alert("Their life total is now " + playerList[n - 1].life) drawPlayerBox(n) - break } else { playerList[n - 1].firection = "none" playerList[n - 1].holdTime = 0 - continue } } if (i == touchX.length - 1) { @@ -255,7 +253,7 @@ function updatePlayerBoxes() { } } } - setTimeout(function() {alert(touchX[0] + ", " + touchY[0] + " & " + touchX[1] + ", " + touchY[1])}, 1000) + // setTimeout(function() {alert(touchX[0] + ", " + touchY[0] + " & " + touchX[1] + ", " + touchY[1])}, 1000) } function clearTimers() { for (var i = 1; i <= playerList.length; i ++) {