Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -351,8 +351,9 @@ private void UpdatePickupState(BasisInteractableObject hitInteractable, ref Basi
// Not pressing interact: clear states from last target (if needed), then consider hover on new target.
bool removeTarget = false;

bool lastTargetIsHeld = interactInput.lastTarget.IsInteractingWith(interactInput.input);
bool autoHoldDropped = true;
if (IsDesktopCenterEye(interactInput.input))
if (lastTargetIsHeld && IsDesktopCenterEye(interactInput.input))
{
autoHoldDropped =
interactInput.lastTarget.AutoHold != BasisAutoHold.Yes ||
Expand Down
Loading