Skip to content

Commit

Permalink
i had to make the changes locally to test on source anyways, might as…
Browse files Browse the repository at this point in the history
… well PR them (ArchipelagoMW#25)
  • Loading branch information
qwint authored Sep 16, 2024
1 parent 822b534 commit 136bd1d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions worlds/tracker/TrackerClient.py
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ def updateTracker(ctx: TrackerGameContext):
return

state = CollectionState(ctx.multiworld)
state.sweep_for_events(
state.sweep_for_advancements(
locations=(location for location in ctx.multiworld.get_locations() if (not location.address)))
prog_items = Counter()
all_items = Counter()
Expand All @@ -685,7 +685,7 @@ def updateTracker(ctx: TrackerGameContext):
all_items[world_item.name] += 1
except:
ctx.log_to_tab("Item id " + str(item_name) + " not able to be created", False)
state.sweep_for_events(
state.sweep_for_advancements(
locations=(location for location in ctx.multiworld.get_locations() if (not location.address)))

ctx.clear_page()
Expand Down Expand Up @@ -717,7 +717,7 @@ def updateTracker(ctx: TrackerGameContext):
except:
ctx.log_to_tab("ERROR: location " + temp_loc.name + " broke something, report this to discord")
pass
events = [location.item.name for location in state.events if location.player == ctx.player_id]
events = [location.item.name for location in state.advancements if location.player == ctx.player_id]

if ctx.tracker_page:
ctx.tracker_page.refresh_from_data()
Expand Down

0 comments on commit 136bd1d

Please sign in to comment.