23 lines
715 B
GDScript
23 lines
715 B
GDScript
extends Control
|
|
|
|
const scene_server_path : String = "res://scenes/interface/page_server.tscn"
|
|
const scene_settings_path : String = "res://scenes/interface/page_settings.tscn"
|
|
|
|
func _ready():
|
|
ResourceLoader.load_threaded_request(scene_server_path)
|
|
ResourceLoader.load_threaded_request(scene_settings_path)
|
|
|
|
func _on_login_pressed():
|
|
get_tree().change_scene_to_file(scene_server_path)
|
|
|
|
func _on_settings_pressed():
|
|
get_tree().change_scene_to_file(scene_settings_path)
|
|
|
|
func _on_quit_button_down():
|
|
get_tree().quit()
|
|
|
|
func _on_button_help_pressed():
|
|
OS.shell_open("https://khaganat.net")
|
|
|
|
func _on_button_forgetPass_pressed():
|
|
OS.shell_open("https://chat.jabberfr.org/converse.js/khaganat@chat.khaganat.net")
|