From 8b1d1a9859265ab679b20be01f6ad51e4aecee7f Mon Sep 17 00:00:00 2001
From: David Luevano Alvarado <david@luevano.xyz>
Date: Sun, 5 Jun 2022 14:21:02 -0600
Subject: Finish game... for now

---
 src/ui/main_menu/scripts/main_menu.gd | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'src/ui/main_menu/scripts')

diff --git a/src/ui/main_menu/scripts/main_menu.gd b/src/ui/main_menu/scripts/main_menu.gd
index 2d955dc..bb96d93 100644
--- a/src/ui/main_menu/scripts/main_menu.gd
+++ b/src/ui/main_menu/scripts/main_menu.gd
@@ -2,11 +2,11 @@ extends MarginContainer
 
 export(NodePath) var START_OPTION_NP: NodePath
 export(NodePath) var EXIT_OPTION_NP: NodePath
+export(NodePath) var ANIMATION_NP: NodePath
 
 onready var start_option: MenuOption = get_node(START_OPTION_NP)
 onready var exit_option: MenuOption = get_node(EXIT_OPTION_NP)
-
-onready var main: Node2D = get_parent().get_parent()
+onready var animation: AnimatedSprite = get_node(ANIMATION_NP)
 
 
 enum Option {
@@ -31,6 +31,7 @@ func _ready():
 	Event.connect("game_start", self, "_on_game_start")
 	start_option.type = Option.START
 	exit_option.type = Option.EXIT
+	animation.play()
 
 
 func _input(event: InputEvent) -> void:
-- 
cgit v1.2.3-70-g09d2