diff options
Diffstat (limited to 'Archipelago/settings_screen.gd')
-rw-r--r-- | Archipelago/settings_screen.gd | 4 |
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") |