diff --git a/behaviours/edible.gd b/behaviours/edible.gd index 5926b07..88bc469 100644 --- a/behaviours/edible.gd +++ b/behaviours/edible.gd @@ -14,6 +14,3 @@ signal eaten func eat(): eaten.emit() - -func _on_eaten() -> void: - Log.p(self, "Got eaten.") diff --git a/behaviours/edible.tscn b/behaviours/edible.tscn index 5a4b405..d8fa24f 100644 --- a/behaviours/edible.tscn +++ b/behaviours/edible.tscn @@ -4,5 +4,3 @@ [node name="Edible" type="Node"] script = ExtResource("1_l6vtr") - -[connection signal="eaten" from="." to="." method="_on_eaten"]