about summary refs log tree commit diff stats
path: root/Archipelago
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2024-04-16 16:29:02 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2024-04-16 16:29:02 -0400
commit4302e550cde189d8bc1d111e81270ed7960ad77c (patch)
tree1153f8e072e8a76d23ddba542e6409caefd0e271 /Archipelago
parent49d7ff22aae922ef081bac1aa2a4b47b2b079166 (diff)
downloadlingo-archipelago-4302e550cde189d8bc1d111e81270ed7960ad77c.tar.gz
lingo-archipelago-4302e550cde189d8bc1d111e81270ed7960ad77c.tar.bz2
lingo-archipelago-4302e550cde189d8bc1d111e81270ed7960ad77c.zip
Better compatibility mode
Diffstat (limited to 'Archipelago')
-rw-r--r--Archipelago/client.gd9
1 files changed, 4 insertions, 5 deletions
diff --git a/Archipelago/client.gd b/Archipelago/client.gd index 63c82f4..6fe2cab 100644 --- a/Archipelago/client.gd +++ b/Archipelago/client.gd
@@ -315,13 +315,12 @@ func _on_data():
315 if _slot_data.has("shuffle_colors"): 315 if _slot_data.has("shuffle_colors"):
316 _color_shuffle = _slot_data["shuffle_colors"] 316 _color_shuffle = _slot_data["shuffle_colors"]
317 if _slot_data.has("shuffle_doors"): 317 if _slot_data.has("shuffle_doors"):
318 # TODO: This assumes that panels mode will be releaed in 0.4.6, which is untrue. 318 if _slot_data.has("group_doors"):
319 if wasGeneratedBeforeVersion({"major": 0, "minor": 4, "build": 6}):
320 _door_shuffle = (_slot_data["shuffle_doors"] > 0)
321 _panel_door_shuffle = false
322 else:
323 _door_shuffle = (_slot_data["shuffle_doors"] == 2) 319 _door_shuffle = (_slot_data["shuffle_doors"] == 2)
324 _panel_door_shuffle = (_slot_data["shuffle_doors"] == 1) 320 _panel_door_shuffle = (_slot_data["shuffle_doors"] == 1)
321 else:
322 _door_shuffle = (_slot_data["shuffle_doors"] > 0)
323 _panel_door_shuffle = false
325 if _slot_data.has("shuffle_paintings"): 324 if _slot_data.has("shuffle_paintings"):
326 _painting_shuffle = _slot_data["shuffle_paintings"] 325 _painting_shuffle = _slot_data["shuffle_paintings"]
327 if _slot_data.has("shuffle_panels"): 326 if _slot_data.has("shuffle_panels"):