diff options
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 96e6d41..cdae2d8 100644 --- a/Archipelago/client.gd +++ b/Archipelago/client.gd | |||
@@ -3,6 +3,7 @@ extends Node | |||
3 | var SCRIPT_doorControl | 3 | var SCRIPT_doorControl |
4 | var SCRIPT_effects | 4 | var SCRIPT_effects |
5 | var SCRIPT_location | 5 | var SCRIPT_location |
6 | var SCRIPT_multiplayer | ||
6 | var SCRIPT_mypainting | 7 | var SCRIPT_mypainting |
7 | var SCRIPT_notifier | 8 | var SCRIPT_notifier |
8 | var SCRIPT_panel | 9 | var SCRIPT_panel |
@@ -12,6 +13,7 @@ var ap_server = "" | |||
12 | var ap_user = "" | 13 | var ap_user = "" |
13 | var ap_pass = "" | 14 | var ap_pass = "" |
14 | var confusify_world = false | 15 | var confusify_world = false |
16 | var enable_multiplayer = false | ||
15 | 17 | ||
16 | const my_version = "0.15.1" | 18 | const my_version = "0.15.1" |
17 | const ap_version = {"major": 0, "minor": 4, "build": 0, "class": "Version"} | 19 | const ap_version = {"major": 0, "minor": 4, "build": 0, "class": "Version"} |
@@ -137,6 +139,8 @@ func _init(): | |||
137 | _datapackages = data[3] | 139 | _datapackages = data[3] |
138 | if data.size() > 4: | 140 | if data.size() > 4: |
139 | confusify_world = data[4] | 141 | confusify_world = data[4] |
142 | if data.size() > 5: | ||
143 | enable_multiplayer = data[5] | ||
140 | 144 | ||
141 | processDatapackages() | 145 | processDatapackages() |
142 | 146 | ||
@@ -431,7 +435,7 @@ func saveSettings(): | |||
431 | var file = File.new() | 435 | var file = File.new() |
432 | file.open("user://settings/archipelago", File.WRITE) | 436 | file.open("user://settings/archipelago", File.WRITE) |
433 | 437 | ||
434 | var data = [ap_server, ap_user, ap_pass, _datapackages, confusify_world] | 438 | var data = [ap_server, ap_user, ap_pass, _datapackages, confusify_world, enable_multiplayer] |
435 | file.store_var(data, true) | 439 | file.store_var(data, true) |
436 | file.close() | 440 | file.close() |
437 | 441 | ||