summaryrefslogtreecommitdiff
path: root/Scenes/Entities/Objects/Sign.gd
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-04-27 20:06:49 +0200
committerDaniel Weipert <git@mail.dweipert.de>2024-04-27 20:06:49 +0200
commit81cc6f1d22677dd4a60aa9377c91b291bf10e523 (patch)
tree9c22712a9746ed0598a44be6e88727d021436860 /Scenes/Entities/Objects/Sign.gd
parentc8a316e4b8987dad963656a34665fa0e23dedcb1 (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 81d3a6c..9b2e4b1 100644
--- a/Scenes/Entities/Objects/Sign.gd
+++ b/Scenes/Entities/Objects/Sign.gd
@@ -14,7 +14,7 @@ func _ready():
func _input(event):
- if Input.is_action_just_pressed("ui_accept") and interaction_area.has_overlapping_areas():
+ if event.is_action_pressed("ui_accept") and interaction_area.has_overlapping_areas():
for area in interaction_area.get_overlapping_areas():
if area.is_in_group("player"):
emit_signal("interacted")