diff --git a/src/input/SinglePad.js b/src/input/SinglePad.js index f295eb526..fcd59e87d 100644 --- a/src/input/SinglePad.js +++ b/src/input/SinglePad.js @@ -136,10 +136,7 @@ Phaser.SinglePad.prototype = { this.onUpCallback = (typeof callbacks.onUp === 'function') ? callbacks.onUp : this.onUpCallback; this.onAxisCallback = (typeof callbacks.onAxis === 'function') ? callbacks.onAxis : this.onAxisCallback; this.onFloatCallback = (typeof callbacks.onFloat === 'function') ? callbacks.onFloat : this.onFloatCallback; - } - if (typeof context !== 'undefined') - { this.callbackContext = context; } },