crabs-game/scripts/credits.gd

8 lines
175 B
GDScript3
Raw Normal View History

2020-08-20 17:45:40 +02:00
extends Node2D
func _input(event):
if event.is_action_pressed("ui_accept"):
Globals.did_already_play_once = true
get_tree().change_scene("res://scenes/main_menu.tscn")