From 89d7b8bfc6b0890e8356b7416d2b39ea9bcc1163 Mon Sep 17 00:00:00 2001 From: Seth Alves Date: Tue, 17 Jan 2017 13:27:01 -0800 Subject: [PATCH] call releaseEquip when an equipped entity is dropped with a secondary press --- scripts/system/controllers/handControllerGrab.js | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/system/controllers/handControllerGrab.js b/scripts/system/controllers/handControllerGrab.js index 865ed91c96..ca5bc08c7e 100644 --- a/scripts/system/controllers/handControllerGrab.js +++ b/scripts/system/controllers/handControllerGrab.js @@ -2418,6 +2418,7 @@ function MyController(hand) { // we have an equipped object and the secondary trigger was released // short-circuit the other checks and release it this.preparingHoldRelease = false; + this.callEntityMethodOnGrabbed("releaseEquip"); this.setState(STATE_OFF, "equipping ended via secondary press"); return; }