diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2025-09-10 20:27:45 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2025-09-10 20:27:45 -0400 |
commit | 49a19c02520999202c01fd7e46aff42ac9fce52d (patch) | |
tree | 0c4811bb3b351c165980ad4e6d2080660a48b0c0 /client | |
parent | 6b2a2fc0106ca5f7824475bbcb918f950802aca2 (diff) | |
download | lingo2-archipelago-49a19c02520999202c01fd7e46aff42ac9fce52d.tar.gz lingo2-archipelago-49a19c02520999202c01fd7e46aff42ac9fce52d.tar.bz2 lingo2-archipelago-49a19c02520999202c01fd7e46aff42ac9fce52d.zip |
Diffstat (limited to 'client')
-rw-r--r-- | client/Archipelago/manager.gd | 3 | ||||
-rw-r--r-- | client/Archipelago/settings_screen.gd | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/client/Archipelago/manager.gd b/client/Archipelago/manager.gd index 383be1f..6eea2bd 100644 --- a/client/Archipelago/manager.gd +++ b/client/Archipelago/manager.gd | |||
@@ -1,7 +1,6 @@ | |||
1 | extends Node | 1 | extends Node |
2 | 2 | ||
3 | const MAJOR_VERSION = 1 | 3 | const MOD_VERSION = 0 |
4 | const MINOR_VERSION = 0 | ||
5 | 4 | ||
6 | var SCRIPT_client | 5 | var SCRIPT_client |
7 | var SCRIPT_keyboard | 6 | var SCRIPT_keyboard |
diff --git a/client/Archipelago/settings_screen.gd b/client/Archipelago/settings_screen.gd index a3bc25e..bc201b6 100644 --- a/client/Archipelago/settings_screen.gd +++ b/client/Archipelago/settings_screen.gd | |||
@@ -67,6 +67,7 @@ func _ready(): | |||
67 | global.add_child(textclient_instance) | 67 | global.add_child(textclient_instance) |
68 | 68 | ||
69 | var ap = global.get_node("Archipelago") | 69 | var ap = global.get_node("Archipelago") |
70 | var gamedata = global.get_node("Gamedata") | ||
70 | ap.connect("ap_connected", connectionSuccessful) | 71 | ap.connect("ap_connected", connectionSuccessful) |
71 | ap.connect("could_not_connect", connectionUnsuccessful) | 72 | ap.connect("could_not_connect", connectionUnsuccessful) |
72 | ap.connect("connect_status", connectionStatus) | 73 | ap.connect("connect_status", connectionStatus) |
@@ -90,7 +91,7 @@ func _ready(): | |||
90 | history_box.get_popup().connect("id_pressed", historySelected) | 91 | history_box.get_popup().connect("id_pressed", historySelected) |
91 | 92 | ||
92 | # Show client version. | 93 | # Show client version. |
93 | $Panel/title.text = "ARCHIPELAGO (%d.%d)" % [ap.MAJOR_VERSION, ap.MINOR_VERSION] | 94 | $Panel/title.text = "ARCHIPELAGO (%d.%d)" % [gamedata.objects.get_version(), ap.MOD_VERSION] |
94 | 95 | ||
95 | # Increase font size in text boxes. | 96 | # Increase font size in text boxes. |
96 | $Panel/server_box.add_theme_font_size_override("font_size", 36) | 97 | $Panel/server_box.add_theme_font_size_override("font_size", 36) |