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:
parent
4e66fbe9af
commit
88bed3ed05
1 changed files with 2 additions and 1 deletions
|
@ -8,4 +8,5 @@ extends Area3D
|
|||
|
||||
|
||||
func _on_body_entered(body):
|
||||
textbox.display(text, duration)
|
||||
if body is Player:
|
||||
textbox.display(text, duration)
|
||||
|
|
Loading…
Reference in a new issue