mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 11:45:36 +02:00
call releaseEquip when an equipped entity is dropped with a secondary press
This commit is contained in:
parent
0cc317d13b
commit
89d7b8bfc6
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue