about summary refs log tree commit diff stats
path: root/Archipelago/settings_screen.gd
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-04-20 22:48:41 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-04-20 22:48:41 -0400
commit86a87b882be20825af21bd09225aaa35ca793777 (patch)
treee88b673021c26170b27c069995c29828f58d7648 /Archipelago/settings_screen.gd
parenta297dd6d094466214d746c84a66fe70a0bed97d5 (diff)
downloadlingo-archipelago-86a87b882be20825af21bd09225aaa35ca793777.tar.gz
lingo-archipelago-86a87b882be20825af21bd09225aaa35ca793777.tar.bz2
lingo-archipelago-86a87b882be20825af21bd09225aaa35ca793777.zip
Disable connect button while connecting
Pressing back now also halts the connection.
Diffstat (limited to 'Archipelago/settings_screen.gd')
-rw-r--r--Archipelago/settings_screen.gd2
1 files changed, 2 insertions, 0 deletions
diff --git a/Archipelago/settings_screen.gd b/Archipelago/settings_screen.gd index 0eb68cf..b74617b 100644 --- a/Archipelago/settings_screen.gd +++ b/Archipelago/settings_screen.gd
@@ -66,6 +66,8 @@ func connectionSuccessful():
66 66
67 67
68func connectionUnsuccessful(error_message): 68func connectionUnsuccessful(error_message):
69 self.get_node("Panel/connect_button").disabled = false
70
69 var popup = self.get_node("Panel/AcceptDialog") 71 var popup = self.get_node("Panel/AcceptDialog")
70 popup.window_title = "Could not connect to Archipelago" 72 popup.window_title = "Could not connect to Archipelago"
71 popup.dialog_text = error_message 73 popup.dialog_text = error_message