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-29 19:40:09 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-04-29 19:40:09 -0400
commit487c09fcaf00fbce7854c24b65bf53614024dda3 (patch)
treeee1b07926b52a70427a0756ec8146b647f73c5bb /Archipelago/settings_screen.gd
parent357e2f63581f606a032ce8886bc7137a50963aa1 (diff)
downloadlingo-archipelago-487c09fcaf00fbce7854c24b65bf53614024dda3.tar.gz
lingo-archipelago-487c09fcaf00fbce7854c24b65bf53614024dda3.tar.bz2
lingo-archipelago-487c09fcaf00fbce7854c24b65bf53614024dda3.zip
Increased max in buffer size
Horray! We don't have to hardcode games not to download.
Diffstat (limited to 'Archipelago/settings_screen.gd')
-rw-r--r--Archipelago/settings_screen.gd4
1 files changed, 4 insertions, 0 deletions
diff --git a/Archipelago/settings_screen.gd b/Archipelago/settings_screen.gd index efd301e..977bee6 100644 --- a/Archipelago/settings_screen.gd +++ b/Archipelago/settings_screen.gd
@@ -6,6 +6,10 @@ func _ready():
6 get_tree().get_root().set_disable_input(false) 6 get_tree().get_root().set_disable_input(false)
7 Input.set_mouse_mode(Input.MOUSE_MODE_VISIBLE) 7 Input.set_mouse_mode(Input.MOUSE_MODE_VISIBLE)
8 8
9 # Increase the WebSocket input buffer size so that we can download large
10 # data packages.
11 ProjectSettings.set_setting("network/limits/websocket_client/max_in_buffer_kb", 8192)
12
9 # Create the global AP client, if it doesn't already exist. 13 # Create the global AP client, if it doesn't already exist.
10 if not global.has_node("Archipelago"): 14 if not global.has_node("Archipelago"):
11 var apclient_script = ResourceLoader.load("user://maps/Archipelago/client.gd") 15 var apclient_script = ResourceLoader.load("user://maps/Archipelago/client.gd")