Fix generation failure for Final Fantasy 1 and Dark Souls 3. (#907)

* Fix generation failure for Final Fantasy 1.

* Fix spoiler log giving "Location (Player x): Item (Player y)" for FF1.

* Dark Soul 3 Items/Locations now get player names in spoiler log.
This commit is contained in:
CaitSith2
2022-08-14 12:34:46 -07:00
committed by GitHub
parent 23b04b5069
commit c02c6ee58c
3 changed files with 3 additions and 2 deletions

View File

@@ -158,7 +158,7 @@ class DarkSouls3World(World):
# For each region, add the associated locations retrieved from the corresponding location_table
def create_region(self, region_name, location_table) -> Region:
new_region = Region(region_name, RegionType.Generic, region_name, self.player)
new_region = Region(region_name, RegionType.Generic, region_name, self.player, self.world)
if location_table:
for name, address in location_table.items():
location = DarkSouls3Location(self.player, name, self.location_name_to_id[name], new_region)