summaryrefslogtreecommitdiff
path: root/Scenes/ScoreParticle.gd
diff options
context:
space:
mode:
Diffstat (limited to 'Scenes/ScoreParticle.gd')
-rw-r--r--Scenes/ScoreParticle.gd3
1 files changed, 3 insertions, 0 deletions
diff --git a/Scenes/ScoreParticle.gd b/Scenes/ScoreParticle.gd
index 51a23f5..5deb893 100644
--- a/Scenes/ScoreParticle.gd
+++ b/Scenes/ScoreParticle.gd
@@ -16,3 +16,6 @@ func animate():
animation_player.add_animation("Animate", anim)
animation_player.play("Animate")
+
+ yield(animation_player, "animation_finished")
+ $AudioStreamPlayer.play()