Skip to content
Snippets Groups Projects
Commit 389d019a authored by Jannik Rosendahl's avatar Jannik Rosendahl
Browse files

death animation fix

parent a591e411
No related branches found
No related tags found
No related merge requests found
......@@ -147,6 +147,7 @@ func hurt_timer_timeout():
is_hurt = false
func die():
is_alive = false
$CollisionShape2D.queue_free()
$AnimatedSprite.play(\"death\")
$Sound_death.play()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment