This commit is contained in:
2025-05-14 22:52:12 -05:00
parent 151d93e433
commit 7f61528100
3 changed files with 9 additions and 10 deletions

View File

@@ -1,7 +1,5 @@
class_name OnionSprig extends StaticBody3D
@export var itemType:ItemType = ItemType.ONION;
func _ready() -> void:
$Entity/EntityInteractable.onInteract.connect(
self.onEntityInteract
@@ -20,4 +18,4 @@ func onEntityInteract(
# Dispose self
get_parent().remove_child(self)
self.queue_free()
self.queue_free()