idk
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user