Skip to content

Commit

Permalink
Fixed small bug regarding the SelectAction from 05986a1
Browse files Browse the repository at this point in the history
  • Loading branch information
lilSander committed Oct 15, 2024
1 parent 924b7b0 commit 837bb4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Assets/SEE/Utils/Raycasting.cs
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ static HitGraphElement DetermineHit(InteractableObject element)
raycastHit = ray;
if (ray.transform.TryGetComponent(out InteractableObject io))
{
DetermineHit(io);
result = DetermineHit(io);
obj = io;
}
}
Expand All @@ -233,7 +233,7 @@ static HitGraphElement DetermineHit(InteractableObject element)
raycastHit = hit;
if (hit.transform.TryGetComponent(out InteractableObject io))
{
DetermineHit(io);
result = DetermineHit(io);
obj = io;
}
}
Expand Down

0 comments on commit 837bb4b

Please sign in to comment.