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:
parent
4e66fbe9af
commit
88bed3ed05
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue