Added missing reference in onDrag.

This commit is contained in:
photonstorm 2017-07-27 14:33:03 +01:00
parent d6abc26ba7
commit d5ed070fe6

View file

@ -151,7 +151,9 @@ var ProcessDragEvents = function (pointer, time)
{ {
gameObject = list[i]; gameObject = list[i];
gameObject.input.dragState = 0; input = gameObject.input;
input.dragState = 0;
this.events.dispatch(new InputEvent.DRAG_END(pointer, gameObject)); this.events.dispatch(new InputEvent.DRAG_END(pointer, gameObject));