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

death animation fix

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