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

11 lines
211 B
GDScript

extends Node2D
func _ready():
Globals.did_already_play_once = true
Globals.save_game()
func _input(event):
if event.is_action_pressed("ui_accept"):
get_tree().change_scene("res://scenes/main_menu.tscn")