Change deactivation criteria as per conversation between Joshua and Mukul.

This commit is contained in:
r3tk0n 2019-01-29 12:02:23 -08:00
parent d4cf1de4dd
commit 4d2ee07512

View file

@ -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(