hexland/Scripts/MainMenu.gd

8 lines
161 B
GDScript3
Raw Normal View History

2022-09-19 22:35:57 -05:00
extends Control
func _ready():
$Buttons/Host.connect("pressed", self, "host_pressed")
func host_pressed():
get_tree().change_scene("res://Scenes/Main.tscn")