SM: comeback fix5 (#1746)

This commit is contained in:
lordlou 2023-04-21 20:57:31 -04:00 committed by GitHub
parent a7a17a5a4d
commit 5e84f91d2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -671,7 +671,7 @@ class SMWorld(World):
def collect(self, state: CollectionState, item: Item) -> bool:
state.smbm[self.player].addItem(item.type)
if item.location != None:
if item.location != None and item.location.game == self.game:
for entrance in self.multiworld.get_region(item.location.parent_region.name, item.location.player).entrances:
if (entrance.parent_region.can_reach(state)):
state.smbm[item.location.player].lastAP = entrance.parent_region.name