mirror of
https://github.com/overte-org/overte.git
synced 2025-04-10 14:46:57 +02:00
Change deactivation criteria as per conversation between Joshua and Mukul.
This commit is contained in:
parent
d4cf1de4dd
commit
4d2ee07512
1 changed files with 2 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue