From a413d46080ec764d9176ac3ddb91205031ea472e Mon Sep 17 00:00:00 2001 From: Kyle <41976328+ImKyle4815@users.noreply.github.com> Date: Fri, 16 Aug 2019 14:52:49 -0700 Subject: [PATCH] Update life.js --- data/life/life.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/data/life/life.js b/data/life/life.js index 944c4bd8..9c9758ca 100644 --- a/data/life/life.js +++ b/data/life/life.js @@ -354,8 +354,8 @@ function moveTouch() { } } function endTouch() { - console.log(event.changedTouches) - console.log(event.changedTouches[0]) +// console.log(event.changedTouches) + console.log(event.changedTouches[0].identifier) moveTouch() if (event.touches.length == 0) { clicking = false @@ -395,6 +395,7 @@ function singleTap() { tappedPlayerBox.life += lifeAdjust drawPlayerBox(tappedPlayerBox.id) console.log(tappedPlayerBox.id) + console.log(event.changedTouches[0].identifier) } @@ -549,4 +550,4 @@ function heldDown() { loop = setTimeout(heldDown, 100) } } -//Updated for realsies!!! like actually... *SIGH* will it ever work? COME ON +//Updated