summaryrefslogtreecommitdiff
path: root/Scenes/Entities/Objects/Sign.gd
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-04-22 16:34:25 +0200
committerDaniel Weipert <git@mail.dweipert.de>2024-04-22 16:34:25 +0200
commitc8a316e4b8987dad963656a34665fa0e23dedcb1 (patch)
tree569af4b4f37d21079b6aedfad5164e94b50b6cb8 /Scenes/Entities/Objects/Sign.gd
parentf27937e6e9b6a7146dd09fc711d2d293ecf5abbf (diff)
update
Diffstat (limited to 'Scenes/Entities/Objects/Sign.gd')
-rw-r--r--Scenes/Entities/Objects/Sign.gd2
1 files changed, 1 insertions, 1 deletions
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"):