diff options
Diffstat (limited to 'scenes/game_over.gd')
-rw-r--r-- | scenes/game_over.gd | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scenes/game_over.gd b/scenes/game_over.gd new file mode 100644 index 0000000..0d1787a --- /dev/null +++ b/scenes/game_over.gd @@ -0,0 +1,5 @@ +extends Node2D + + +func _on_AnimationPlayer_animation_finished(anim_name): + get_tree().change_scene("res://scenes/menu.tscn") |