From 1a5889bc7ae6123f9d85eb34fb0794a23b4187b1 Mon Sep 17 00:00:00 2001 From: veclavtalica Date: Wed, 12 Feb 2025 07:41:07 +0300 Subject: [PATCH] don't mark interactive when there's an item in hand --- src/ingame/player.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ingame/player.gd b/src/ingame/player.gd index 5df6ec8..6dd0e04 100644 --- a/src/ingame/player.gd +++ b/src/ingame/player.gd @@ -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: