about summary refs log tree commit diff stats
path: root/Archipelago/settings_buttons.gd
blob: 1ab378863b774b8d0ad89ac5bf2e07f78309e50a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
extends Button


func _ready():
	pass


func _connect_pressed():
	var apclient = global.get_node("Archipelago")
	apclient.ap_server = self.get_parent().get_node("server_box").text
	apclient.ap_user = self.get_parent().get_node("player_box").text
	apclient.ap_pass = self.get_parent().get_node("password_box").text
	apclient.saveSettings()


func _back_pressed():
	fader._fade_start("main_menu")