1
Fork 0
mirror of https://github.com/Steffo99/cinnos.git synced 2024-11-21 15:44:21 +00:00

only display if player

This commit is contained in:
Steffo 2023-11-25 16:40:28 +01:00
parent 4e66fbe9af
commit 88bed3ed05

View file

@ -8,4 +8,5 @@ extends Area3D
func _on_body_entered(body):
textbox.display(text, duration)
if body is Player:
textbox.display(text, duration)