Skip to content

Commit

Permalink
SM: missing foreign item filter fix (ArchipelagoMW#1774)
Browse files Browse the repository at this point in the history
  • Loading branch information
lordlou authored Apr 27, 2023
1 parent a7816d1 commit 7bcf299
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worlds/sm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ def set_entrance_rule(entrance, player, func):
add_postAvailable_rule(location, self.player, value.PostAvailable)

if self.multiworld.doors_colors_rando[self.player].value != 0:
add_item_rule(location, lambda item: item.type not in ammoItems or
add_item_rule(location, lambda item: item.game != self.game or item.type not in ammoItems or
(item.type in ammoItems and \
(not item.advancement or (item.advancement and item.player == self.player))))

Expand Down

0 comments on commit 7bcf299

Please sign in to comment.