Fixed follower logic to use new dynamic mirror connections

This commit is contained in:
codemann8
2022-12-29 18:44:07 -06:00
parent 5fd88fcc78
commit 7fc3929280

View File

@@ -1585,7 +1585,7 @@ class Entrance(object):
if len(self.connected_region.locations) > 0 and self.connected_region.locations[0].item:
item_name = self.connected_region.locations[0].item.name
for loc in self.parent_region.locations:
if loc.event and not loc.real and loc.item.name.find('Farmable') < 0:
if loc.event and not loc.real and loc.item and loc.item.name.find('Farmable') < 0:
item_name = loc.item.name
break
path = (item_name, (self.parent_region.name, path))