From 1ef832297eb11c0b92cb775de696e18b3b60be7a Mon Sep 17 00:00:00 2001 From: Kyle <41976328+ImKyle4815@users.noreply.github.com> Date: Thu, 15 Aug 2019 18:31:35 -0700 Subject: [PATCH] Update life.js --- data/life/life.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/data/life/life.js b/data/life/life.js index 35897549..7358fecd 100644 --- a/data/life/life.js +++ b/data/life/life.js @@ -255,6 +255,7 @@ function updatePlayerBoxes() { } } } + setTimeout(function() {alert(touchX[0] + ", " + touchY[0] + " & " + touchX[1] + ", " + touchY[1])}, 1000) } function clearTimers() { for (var i = 1; i <= playerList.length; i ++) { @@ -355,7 +356,7 @@ function moveTouch() { } function endTouch() { moveTouch() - if (event.touches.length < 1) { + if (event.touches.length == 0) { clicking = false clearTimeout(loop) clearTimers()