SM: missing foreign item filter fix (#1774)

This commit is contained in:
lordlou 2023-04-26 20:23:52 -04:00 committed by GitHub
parent a7816d186f
commit 7bcf299412
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ class SMWorld(World):
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))))