mirror of
				https://github.com/Investigamer/cardconjurer.git
				synced 2025-10-30 23:00:43 -05:00 
			
		
		
		
	Update life.js
This commit is contained in:
		| @@ -148,7 +148,6 @@ function playerBox(playerBoxID, canvasRotation, wide) { | ||||
| 	document.addEventListener("mouseup", decoyMouseUpFunction, true) | ||||
| } | ||||
| function decoyMouseDownFunction() { | ||||
| 	console.log("IT'S STILL CLICKING") | ||||
| 	mouseDownPlayerBox(this, event.clientX, event.clientY) | ||||
| } | ||||
| function decoyMouseUpFunction() { | ||||
| @@ -224,7 +223,6 @@ function updateBackgroundColor(color) { | ||||
|  | ||||
|  | ||||
| function switchToTouchEvents() { | ||||
| 	console.log("switching!") | ||||
| 	window.removeEventListener("touchstart", switchToTouchEvents, true) | ||||
| 	document.removeEventListener("mouseup", decoyMouseUpFunction, true) | ||||
| 	for (var i = 1; i <= playerCount; i++) { | ||||
| @@ -238,6 +236,4 @@ function switchToTouchEvents() { | ||||
| 			mouseUpPlayerBox(this) | ||||
| 		}, true) | ||||
| 	} | ||||
| } | ||||
|  | ||||
| // setTimeout(function(){switchToTouchEvents()}, 2000) | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 Kyle
					Kyle