crabs-game/scripts/main_menu.gd
2020-08-20 18:52:24 +02:00

10 lines
234 B
GDScript

extends Node2D
onready var music_player = get_node('/root/MusicPlayer') as MusicPlayer
func _ready():
music_player.play('main_title')
Globals.load_game()
if Globals.did_already_play_once:
$UI/Buttons/AnotherChoiceButton.show()