From c8a316e4b8987dad963656a34665fa0e23dedcb1 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Mon, 22 Apr 2024 16:34:25 +0200 Subject: update --- Scenes/Entities/Objects/Sign.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Scenes/Entities/Objects/Sign.gd') diff --git a/Scenes/Entities/Objects/Sign.gd b/Scenes/Entities/Objects/Sign.gd index 9d83bab..81d3a6c 100644 --- a/Scenes/Entities/Objects/Sign.gd +++ b/Scenes/Entities/Objects/Sign.gd @@ -13,7 +13,7 @@ func _ready(): add_child(interaction_area) -func _physics_process(_delta): +func _input(event): if Input.is_action_just_pressed("ui_accept") and interaction_area.has_overlapping_areas(): for area in interaction_area.get_overlapping_areas(): if area.is_in_group("player"): -- cgit v1.2.3