From 726e906c353c05e09db75d8c77df0c7cc8194fe0 Mon Sep 17 00:00:00 2001 From: Kyle <41976328+ImKyle4815@users.noreply.github.com> Date: Fri, 16 Aug 2019 15:54:26 -0700 Subject: [PATCH] Update life.js --- data/life/life.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/data/life/life.js b/data/life/life.js index 2e58954a..c1a66871 100644 --- a/data/life/life.js +++ b/data/life/life.js @@ -357,10 +357,10 @@ function endTouch() { if (playerList[i - 1].touchId == event.changedTouches[0].identifier) { playerList[i - 1].touchId = 0.5 console.log(i + " no longer touching") + } else { + console.log(playerList[i - 1].touchId + " is not " + event.changedTouches[0].identifier) } } - console.log(event.changedTouches) - console.log(event.changedTouches[0].target.touchId) moveTouch() if (event.touches.length == 0) { clicking = false @@ -553,4 +553,4 @@ function heldDown() { loop = setTimeout(heldDown, 100) } } -//Updated!!! +//Updated!!! Are we there yet?