From 4fbf8c6d8dfbe7c6afed49923dc63e3bf3c3bfff Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 19 Apr 2024 03:32:05 +0200 Subject: [PATCH] Remove debug logging from `Edible` --- behaviours/edible.gd | 3 --- behaviours/edible.tscn | 2 -- 2 files changed, 5 deletions(-) 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"]