some more small changes

This commit is contained in:
Dante Ruiz 2017-09-05 12:06:32 -07:00
parent 28694dcf8a
commit cefa65de5e

View file

@ -483,6 +483,10 @@ Script.include("/~/system/libraries/controllers.js");
"userData", "locked", "type"
]);
if (entityID !== this.entityWithContextOverlay) {
this.destroyContextOverlay();
}
if (entityIsDistanceGrabbable(targetProps)) {
if (!this.distanceRotating) {
this.grabbedThingID = entityID;