From 8d1b947bbd187f8c0b46cb6fe6de811f9c074990 Mon Sep 17 00:00:00 2001 From: David Rowe Date: Thu, 16 Aug 2018 13:35:36 +1200 Subject: [PATCH] Fix variable names --- scripts/system/controllers/controllerModules/teleport.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/system/controllers/controllerModules/teleport.js b/scripts/system/controllers/controllerModules/teleport.js index e7040208fb..07f7371aef 100644 --- a/scripts/system/controllers/controllerModules/teleport.js +++ b/scripts/system/controllers/controllerModules/teleport.js @@ -117,8 +117,8 @@ Script.include("/~/system/libraries/controllers.js"); var _this = this; this.hand = hand; - this.buttonStateXX = 0; // Left hand / right hand x-axis. - this.buttonStateXY = 0; // Left hand / right hand y-axis. + this.buttonStateX = 0; // Left hand / right hand x-axis. + this.buttonStateX = 0; // Left hand / right hand y-axis. this.BUTTON_TRANSITION_DELAY = 50; // Allow time for transition from direction buttons to touch-pad. this.buttonValue = 0;