diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-04-17 12:30:18 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-04-17 12:30:18 -0400 |
commit | ce831897b89974f38fd6f0583e5feac178643a14 (patch) | |
tree | 205fac55f33de613efc2d4c15dd9e9ecc15febe4 /Archipelago/client.gd | |
parent | dbc0e454596ba7e1a8378685c35e37dccd19c964 (diff) | |
download | lingo-archipelago-ce831897b89974f38fd6f0583e5feac178643a14.tar.gz lingo-archipelago-ce831897b89974f38fd6f0583e5feac178643a14.tar.bz2 lingo-archipelago-ce831897b89974f38fd6f0583e5feac178643a14.zip |
Add connection history
Diffstat (limited to 'Archipelago/client.gd')
-rw-r--r-- | Archipelago/client.gd | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Archipelago/client.gd b/Archipelago/client.gd index f15afe6..489fdb9 100644 --- a/Archipelago/client.gd +++ b/Archipelago/client.gd | |||
@@ -15,6 +15,7 @@ var ap_pass = "" | |||
15 | var confusify_world = false | 15 | var confusify_world = false |
16 | var enable_multiplayer = false | 16 | var enable_multiplayer = false |
17 | var track_player = false | 17 | var track_player = false |
18 | var connection_history = [] | ||
18 | 19 | ||
19 | const my_version = "2.1.1" | 20 | const my_version = "2.1.1" |
20 | const ap_version = {"major": 0, "minor": 4, "build": 5, "class": "Version"} | 21 | const ap_version = {"major": 0, "minor": 4, "build": 5, "class": "Version"} |
@@ -161,6 +162,8 @@ func _init(): | |||
161 | enable_multiplayer = data[5] | 162 | enable_multiplayer = data[5] |
162 | if data.size() > 6: | 163 | if data.size() > 6: |
163 | track_player = data[6] | 164 | track_player = data[6] |
165 | if data.size() > 7: | ||
166 | connection_history = data[7] | ||
164 | 167 | ||
165 | processDatapackages() | 168 | processDatapackages() |
166 | 169 | ||
@@ -485,7 +488,8 @@ func saveSettings(): | |||
485 | _datapackages, | 488 | _datapackages, |
486 | confusify_world, | 489 | confusify_world, |
487 | enable_multiplayer, | 490 | enable_multiplayer, |
488 | track_player | 491 | track_player, |
492 | connection_history | ||
489 | ] | 493 | ] |
490 | file.store_var(data, true) | 494 | file.store_var(data, true) |
491 | file.close() | 495 | file.close() |