mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 06:53:59 +02:00
Fix not being able to grab tablet with other hand
This commit is contained in:
parent
1088a0f9ae
commit
d98e7cea4e
2 changed files with 2 additions and 2 deletions
|
@ -228,7 +228,7 @@ Script.include("/~/system/libraries/controllerDispatcherUtils.js");
|
|||
nearbyOverlays.splice(tabletIndex, 1);
|
||||
}
|
||||
if (miniTabletIndex !== -1
|
||||
&& (closebyOverlays.indexOf(_this.miniTabletID) === -1) || h !== _this.miniTabletHand) {
|
||||
&& ((closebyOverlays.indexOf(_this.miniTabletID) === -1) || h !== _this.miniTabletHand)) {
|
||||
nearbyOverlays.splice(miniTabletIndex, 1);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -45,7 +45,7 @@ Script.include("/~/system/libraries/utils.js");
|
|||
|
||||
this.setMiniTabletID = function (id) {
|
||||
this.miniTabletID = id;
|
||||
}
|
||||
};
|
||||
|
||||
this.otherHandIsParent = function(props) {
|
||||
return this.getOtherModule().thisHandIsParent(props);
|
||||
|
|
Loading…
Reference in a new issue