diff --git a/code/GameLib.js b/code/GameLib.js index b0830b2..8528b8d 100644 --- a/code/GameLib.js +++ b/code/GameLib.js @@ -259,10 +259,7 @@ Mouse.prototype = { this.EndPosition.Y = position.Y; }, OnTouchEnd: function(event){ - var position = this.GetEventPoistion({X: event.touches[0].clientX, Y: event.touches[0].clientY}); this.RealDown = false; - this.EndPosition.X = position.X; - this.EndPosition.Y = position.Y; }, Update: function(){ if(this.RealDown == false){