small change to contextOVerlays in farActionGrab

This commit is contained in:
Dante Ruiz 2017-09-05 11:46:06 -07:00
parent 3b357ad61e
commit 28694dcf8a

View File

@ -434,11 +434,6 @@ Script.include("/~/system/libraries/controllers.js");
return makeRunningValues(false, [], []);
}
var targetEntity = controllerData.rayPicks[this.hand].objectID;
if (targetEntity !== this.entityWithContextOverlay) {
this.destroyContextOverlay();
}
var otherModuleName =this.hand === RIGHT_HAND ? "LeftFarActionGrabEntity" : "RightFarActionGrabEntity";
var otherFarGrabModule = getEnabledModuleByName(otherModuleName);