diff options
Diffstat (limited to 'Archipelago')
-rw-r--r-- | Archipelago/client.gd | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Archipelago/client.gd b/Archipelago/client.gd index 2dcd375..4e3ca75 100644 --- a/Archipelago/client.gd +++ b/Archipelago/client.gd | |||
@@ -148,6 +148,7 @@ func _on_data(): | |||
148 | # We are being sent all of our items, so lets reset any progress | 148 | # We are being sent all of our items, so lets reset any progress |
149 | # on progressive items. | 149 | # on progressive items. |
150 | _tower_floors = 0 | 150 | _tower_floors = 0 |
151 | _held_items = [] | ||
151 | 152 | ||
152 | for item in message["items"]: | 153 | for item in message["items"]: |
153 | if _map_loaded: | 154 | if _map_loaded: |
@@ -260,7 +261,9 @@ func processItem(item): | |||
260 | 261 | ||
261 | # Handle progressively opening up the tower. | 262 | # Handle progressively opening up the tower. |
262 | if _item_name_to_id["Progressive Orange Tower"] == item and _tower_floors < orange_tower.size(): | 263 | if _item_name_to_id["Progressive Orange Tower"] == item and _tower_floors < orange_tower.size(): |
263 | processItem(_item_name_to_id["Orange Tower - %s Floor" % orange_tower[_tower_floors]]) | 264 | var subitem_name = "Orange Tower - %s Floor" % orange_tower[_tower_floors] |
265 | global._print(subitem_name) | ||
266 | processItem(_item_name_to_id[subitem_name]) | ||
264 | _tower_floors += 1 | 267 | _tower_floors += 1 |
265 | 268 | ||
266 | 269 | ||