1
Fork 0
mirror of https://github.com/Steffo99/cinnos.git synced 2024-11-22 08:04:20 +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): func _on_body_entered(body):
textbox.display(text, duration) if body is Player:
textbox.display(text, duration)