From 4d2ee07512845378d6e5c4129899681f0f7f62a0 Mon Sep 17 00:00:00 2001 From: r3tk0n Date: Tue, 29 Jan 2019 12:02:23 -0800 Subject: [PATCH] Change deactivation criteria as per conversation between Joshua and Mukul. --- scripts/system/controllers/controllerModules/teleport.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/system/controllers/controllerModules/teleport.js b/scripts/system/controllers/controllerModules/teleport.js index bbc690d663..124fe3d3ea 100644 --- a/scripts/system/controllers/controllerModules/teleport.js +++ b/scripts/system/controllers/controllerModules/teleport.js @@ -726,7 +726,8 @@ Script.include("/~/system/libraries/controllers.js"); }; this.shouldCancel = function () { - return (_this.getDominantY() < -TELEPORT_DEADZONE || _this.getOffhandY() < -TELEPORT_DEADZONE) ? true : false; + //return (_this.getDominantY() < -TELEPORT_DEADZONE || _this.getOffhandY() < -TELEPORT_DEADZONE) ? true : false; + return (_this.getOffhandY() <= TELEPORT_DEADZONE) ? true : false; }; this.parameters = makeDispatcherModuleParameters(