Branch master was renamed to main.

ile-de-test/script/interface/page_login.gd
2023-10-05 20:02:23 +02:00

14 lines
297 B
GDScript

extends Control
const scene_server_path : String = "res://scenes/interface/page_server.tscn"
func _ready():
ResourceLoader.load_threaded_request(scene_server_path)
func _on_login_pressed():
get_tree().change_scene_to_file(scene_server_path)
func _on_quit_button_down():
get_tree().quit()