diff options
Diffstat (limited to 'apworld/client/manager.gd')
| -rw-r--r-- | apworld/client/manager.gd | 5 |
1 files changed, 5 insertions, 0 deletions
| diff --git a/apworld/client/manager.gd b/apworld/client/manager.gd index 2c25269..e7765dd 100644 --- a/apworld/client/manager.gd +++ b/apworld/client/manager.gd | |||
| @@ -15,6 +15,7 @@ var ap_pass = "" | |||
| 15 | var connection_history = [] | 15 | var connection_history = [] |
| 16 | var show_compass = false | 16 | var show_compass = false |
| 17 | var show_locations = false | 17 | var show_locations = false |
| 18 | var show_minimap = false | ||
| 18 | 19 | ||
| 19 | var client | 20 | var client |
| 20 | var keyboard | 21 | var keyboard |
| @@ -93,6 +94,9 @@ func _init(): | |||
| 93 | if data.size() > 5: | 94 | if data.size() > 5: |
| 94 | show_locations = data[5] | 95 | show_locations = data[5] |
| 95 | 96 | ||
| 97 | if data.size() > 6: | ||
| 98 | show_minimap = data[6] | ||
| 99 | |||
| 96 | 100 | ||
| 97 | func _ready(): | 101 | func _ready(): |
| 98 | client = SCRIPT_client.new() | 102 | client = SCRIPT_client.new() |
| @@ -128,6 +132,7 @@ func saveSettings(): | |||
| 128 | connection_history, | 132 | connection_history, |
| 129 | show_compass, | 133 | show_compass, |
| 130 | show_locations, | 134 | show_locations, |
| 135 | show_minimap, | ||
| 131 | ] | 136 | ] |
| 132 | file.store_var(data, true) | 137 | file.store_var(data, true) |
| 133 | file.close() | 138 | file.close() |
