about summary refs log tree commit diff stats
path: root/Archipelago/settings_buttons.gd
diff options
context:
space:
mode:
Diffstat (limited to 'Archipelago/settings_buttons.gd')
-rw-r--r--Archipelago/settings_buttons.gd5
1 files changed, 5 insertions, 0 deletions
diff --git a/Archipelago/settings_buttons.gd b/Archipelago/settings_buttons.gd index 735f944..0050504 100644 --- a/Archipelago/settings_buttons.gd +++ b/Archipelago/settings_buttons.gd
@@ -6,6 +6,8 @@ func _ready():
6 6
7 7
8func _connect_pressed(): 8func _connect_pressed():
9 self.disabled = true
10
9 var apclient = global.get_node("Archipelago") 11 var apclient = global.get_node("Archipelago")
10 apclient.ap_server = self.get_parent().get_node("server_box").text 12 apclient.ap_server = self.get_parent().get_node("server_box").text
11 apclient.ap_user = self.get_parent().get_node("player_box").text 13 apclient.ap_user = self.get_parent().get_node("player_box").text
@@ -16,4 +18,7 @@ func _connect_pressed():
16 18
17 19
18func _back_pressed(): 20func _back_pressed():
21 var apclient = global.get_node("Archipelago")
22 apclient.disconnect_from_ap()
23
19 fader._fade_start("main_menu") 24 fader._fade_start("main_menu")