about summary refs log tree commit diff stats
path: root/apworld/client/manager.gd
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2026-02-23 12:46:37 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2026-02-23 12:46:37 -0500
commit0049d2995ca09324a9c973460c0a4acf97eba907 (patch)
tree1f684326f01c4fdfdb9a555f31d51821b9b3323e /apworld/client/manager.gd
parente38516f2436cb7c403da86d6d588b75644c8cdcf (diff)
downloadlingo2-archipelago-0049d2995ca09324a9c973460c0a4acf97eba907.tar.gz
lingo2-archipelago-0049d2995ca09324a9c973460c0a4acf97eba907.tar.bz2
lingo2-archipelago-0049d2995ca09324a9c973460c0a4acf97eba907.zip
Add settings to prioritize locations on current map
Diffstat (limited to 'apworld/client/manager.gd')
-rw-r--r--apworld/client/manager.gd5
1 files changed, 5 insertions, 0 deletions
diff --git a/apworld/client/manager.gd b/apworld/client/manager.gd index f10a0b7..9b790c0 100644 --- a/apworld/client/manager.gd +++ b/apworld/client/manager.gd
@@ -14,6 +14,7 @@ var connection_history = []
14var show_compass = false 14var show_compass = false
15var show_locations = false 15var show_locations = false
16var show_minimap = false 16var show_minimap = false
17var prioritize_current_map = false
17 18
18var client 19var client
19var keyboard 20var keyboard
@@ -130,6 +131,9 @@ func _init():
130 if data.size() > 6: 131 if data.size() > 6:
131 show_minimap = data[6] 132 show_minimap = data[6]
132 133
134 if data.size() > 7:
135 prioritize_current_map = data[7]
136
133 # We need to create a mapping from material paths to the original colors of 137 # We need to create a mapping from material paths to the original colors of
134 # those materials. We force reload the materials, overwriting any custom 138 # those materials. We force reload the materials, overwriting any custom
135 # textures, and create the mapping. We then reload the textures in case the 139 # textures, and create the mapping. We then reload the textures in case the
@@ -185,6 +189,7 @@ func saveSettings():
185 show_compass, 189 show_compass,
186 show_locations, 190 show_locations,
187 show_minimap, 191 show_minimap,
192 prioritize_current_map,
188 ] 193 ]
189 file.store_var(data, true) 194 file.store_var(data, true)
190 file.close() 195 file.close()