about summary refs log tree commit diff stats
path: root/Archipelago/client.gd
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-04-24 00:11:25 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-04-24 00:11:25 -0400
commit86860f619d1cb354627cf4f92a4c5d4d177c9046 (patch)
treeb7c62616c1a3cc6e0d86c57d810cefdea8b3f348 /Archipelago/client.gd
parent87128e274733aea20ab90b84e43962a24a5cad84 (diff)
downloadlingo-archipelago-86860f619d1cb354627cf4f92a4c5d4d177c9046.tar.gz
lingo-archipelago-86860f619d1cb354627cf4f92a4c5d4d177c9046.tar.bz2
lingo-archipelago-86860f619d1cb354627cf4f92a4c5d4d177c9046.zip
Renamed cache directory
When it was just "archipelago", the names showed up in the file load list if you clicked load game, which gave people the impression that they were actual save files.
Diffstat (limited to 'Archipelago/client.gd')
-rw-r--r--Archipelago/client.gd4
1 files changed, 2 insertions, 2 deletions
diff --git a/Archipelago/client.gd b/Archipelago/client.gd index 1729061..3b29bfb 100644 --- a/Archipelago/client.gd +++ b/Archipelago/client.gd
@@ -219,7 +219,7 @@ func _on_data():
219 if _slot_data.has("painting_entrance_to_exit"): 219 if _slot_data.has("painting_entrance_to_exit"):
220 _paintings_mapping = _slot_data["painting_entrance_to_exit"] 220 _paintings_mapping = _slot_data["painting_entrance_to_exit"]
221 221
222 _localdata_file = "user://archipelago/%s_%d" % [_seed, _slot] 222 _localdata_file = "user://archipelago_data/%s_%d" % [_seed, _slot]
223 var ap_file = File.new() 223 var ap_file = File.new()
224 if ap_file.file_exists(_localdata_file): 224 if ap_file.file_exists(_localdata_file):
225 ap_file.open(_localdata_file, File.READ) 225 ap_file.open(_localdata_file, File.READ)
@@ -374,7 +374,7 @@ func saveSettings():
374func saveLocaldata(): 374func saveLocaldata():
375 # Save the MW/slot specific settings to disk. 375 # Save the MW/slot specific settings to disk.
376 var dir = Directory.new() 376 var dir = Directory.new()
377 var path = "user://archipelago" 377 var path = "user://archipelago_data"
378 if dir.dir_exists(path): 378 if dir.dir_exists(path):
379 pass 379 pass
380 else: 380 else: