diff --git a/project/behaviours/equip_target.gd b/project/behaviours/equip_target.gd index cc36a66757..6134f61faa 100644 --- a/project/behaviours/equip_target.gd +++ b/project/behaviours/equip_target.gd @@ -3,7 +3,7 @@ extends BehaviourAction @onready var body := get_behaviour_tree().get_parent() as CharacterBody3D func _enter() -> int: - if body.target == null or not body.target is Area3D: + if body.target == null or not body.target is Area3D or not body.target.can_interact(): return Fail else: body.equip_weapon(body.target)