fixed fruits not being removed after collection

main
Artur David 2026-06-02 08:48:12 +02:00
parent f3c7146367
commit cb9ed7d0ec
1 changed files with 2 additions and 0 deletions

View File

@ -62,3 +62,5 @@ func collect():
var scale_tween = create_tween()
collected.emit(self)
scale_tween.tween_property(self, "scale", Vector2.ZERO,0.2)
await scale_tween.finished
queue_free()