From 52d80476a8fda0d32abff288815ff75a5f9bae32 Mon Sep 17 00:00:00 2001 From: r3tk0n Date: Tue, 26 Feb 2019 17:55:16 -0800 Subject: [PATCH] Fix activation criteria. --- scripts/system/controllers/controllerModules/farGrabEntity.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/system/controllers/controllerModules/farGrabEntity.js b/scripts/system/controllers/controllerModules/farGrabEntity.js index d2d8af9dc4..6e08542bda 100644 --- a/scripts/system/controllers/controllerModules/farGrabEntity.js +++ b/scripts/system/controllers/controllerModules/farGrabEntity.js @@ -88,7 +88,7 @@ Script.include("/~/system/libraries/controllers.js"); this.getOtherModule = function () { // Used to fetch other module. - return getEnabledModuleByName(this.hand === RIGHT_HAND ? ("RightFarGrabEntity") : ("LeftFarGrabEntity")); + return getEnabledModuleByName(this.hand === RIGHT_HAND ? ("LeftFarGrabEntity") : ("RightFarGrabEntity")); }; this.getTargetRotation = function () { @@ -105,7 +105,7 @@ Script.include("/~/system/libraries/controllers.js"); } this.getOffhandTrigger = function () { - return (_this.hand === RIGHT_HAND ? _this.rightTrigger : _this.leftTrigger); + return (_this.hand === RIGHT_HAND ? _this.leftTrigger : _this.rightTrigger); } this.shouldManipulateTarget = function () {