don't mark interactive when there's an item in hand
This commit is contained in:
parent
1b60c7a3a7
commit
1a5889bc7a
@ -57,7 +57,7 @@ func _physics_process(delta: float) -> void:
|
||||
## Process interactivity selection.
|
||||
if id == multiplayer.get_unique_id():
|
||||
var collider: Object = null
|
||||
if _line_of_sight.is_colliding():
|
||||
if held_thing == "" and _line_of_sight.is_colliding():
|
||||
collider = _line_of_sight.get_collider(0)
|
||||
if collider != _interaction_selection:
|
||||
if _interaction_selection != null:
|
||||
|
Loading…
Reference in New Issue
Block a user