diff --git a/TABGVR/Player/VRControls.cs b/TABGVR/Player/VRControls.cs index 5cd83af..8aea19d 100644 --- a/TABGVR/Player/VRControls.cs +++ b/TABGVR/Player/VRControls.cs @@ -100,13 +100,7 @@ private void Update() { if (!_rightTriggered) { - if (UIPorter.UIRightHand.GetComponent() - .TryGetCurrentUIRaycastResult(out var uiRaycast)) - { - var handler = uiRaycast.gameObject.GetComponent(); - handler?.OnPointerClick(new PointerEventData(EventSystem.current)); - } - else if (weaponHandler.rightWeapon) weaponHandler.PressAttack(true, false); + if (weaponHandler.rightWeapon) weaponHandler.PressAttack(true, false); else PickupInteract(); } else if (weaponHandler.rightWeapon)