diff --git a/obstacles/dialog.gd b/obstacles/dialog.gd index f25f572..36a146f 100644 --- a/obstacles/dialog.gd +++ b/obstacles/dialog.gd @@ -8,4 +8,5 @@ extends Area3D func _on_body_entered(body): - textbox.display(text, duration) + if body is Player: + textbox.display(text, duration)