diff --git a/data/life/life.js b/data/life/life.js index 2b2a7218..37fbc5c1 100644 --- a/data/life/life.js +++ b/data/life/life.js @@ -372,6 +372,7 @@ function endTouch() { function singleTap() { + console.log("a tap has occurred!") var playerBoxBounds = event.target.getBoundingClientRect() var tappedPlayerBox = playerList[event.target.customVarID - 1] var lifeAdjust = 0 @@ -394,6 +395,7 @@ function singleTap() { direction = lifeAdjust + "" tappedPlayerBox.life += lifeAdjust drawPlayerBox(tappedPlayerBox.id) + console.log(tappedPlayerBox.id) } @@ -548,4 +550,4 @@ function heldDown() { loop = setTimeout(heldDown, 100) } } -//Updated for real \ No newline at end of file +//Updated for real