Skip to content

Commit 4f73f28

Browse files
remyjetteFlySniper
authored andcommitted
WebHost: Fix KeyError in alttp multitracker (ArchipelagoMW#2194)
1 parent 2303431 commit 4f73f28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WebHostLib/tracker.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1683,7 +1683,7 @@ def attribute_item(team: int, recipient: int, item: int):
16831683
for item_id in precollected:
16841684
attribute_item(team, player, item_id)
16851685
for location in locations_checked:
1686-
if location not in player_locations or location not in player_location_to_area[player]:
1686+
if location not in player_locations or location not in player_location_to_area.get(player, {}):
16871687
continue
16881688
item, recipient, flags = player_locations[location]
16891689
recipients = groups.get(recipient, [recipient])

0 commit comments

Comments
 (0)