Skip to content

Commit

Permalink
fix: fixes issue with interaction detection
Browse files Browse the repository at this point in the history
  • Loading branch information
OctoD committed Apr 23, 2024
1 parent f018f50 commit 2d0cc70
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,7 @@ var can_interact: bool:
if not tags.has(tag):
return false

if focused_interactable != null:
return tags_blocking_interaction.size() == 0 and tags_required_to_interact.size() == 0

return false
return focused_interactable != null
## Is the interacting owner. Usually a [CharacterBody2D] or [CharacterBody3D].
var interacting_owner: Node:
get:
Expand Down

0 comments on commit 2d0cc70

Please sign in to comment.