diff --git a/collector/collectible.gd b/collector/collectible.gd index cd30f0e..3d1ac3f 100644 --- a/collector/collectible.gd +++ b/collector/collectible.gd @@ -15,7 +15,7 @@ signal collected ## ## You'll probably want to connect this to an AudioSource2D, which will disable the node and play a sound, and when the sound is over a new signal will queue_free it. func collect(): - emit_signal("collected") + collected.emit() func _on_done():