diff options
Diffstat (limited to 'client/Archipelago/client.gd')
-rw-r--r-- | client/Archipelago/client.gd | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/client/Archipelago/client.gd b/client/Archipelago/client.gd index 2e080fd..843647d 100644 --- a/client/Archipelago/client.gd +++ b/client/Archipelago/client.gd | |||
@@ -47,6 +47,8 @@ signal location_scout_received(item_id, location_id, player, flags) | |||
47 | func _init(): | 47 | func _init(): |
48 | set_process_mode(Node.PROCESS_MODE_ALWAYS) | 48 | set_process_mode(Node.PROCESS_MODE_ALWAYS) |
49 | 49 | ||
50 | _ws.inbound_buffer_size = 8388608 | ||
51 | |||
50 | global._print("Instantiated APClient") | 52 | global._print("Instantiated APClient") |
51 | 53 | ||
52 | # Read AP datapackages from file, if there are any | 54 | # Read AP datapackages from file, if there are any |
@@ -225,7 +227,7 @@ func _process(_delta): | |||
225 | error_message = "Unknown error." | 227 | error_message = "Unknown error." |
226 | 228 | ||
227 | _initiated_disconnect = true | 229 | _initiated_disconnect = true |
228 | _ws.disconnect_from_host() | 230 | _ws.close() |
229 | 231 | ||
230 | emit_signal("could_not_connect", error_message) | 232 | emit_signal("could_not_connect", error_message) |
231 | global._print("Connection to AP refused") | 233 | global._print("Connection to AP refused") |
@@ -309,7 +311,7 @@ func connectToServer(server, un, pw): | |||
309 | % err | 311 | % err |
310 | ) | 312 | ) |
311 | ) | 313 | ) |
312 | global._print("Could not connect to AP: " + err) | 314 | global._print("Could not connect to AP: %d" % err) |
313 | return | 315 | return |
314 | _should_process = true | 316 | _should_process = true |
315 | 317 | ||