TS: Fixed review comments

This commit is contained in:
Jarno Westhof 2021-12-14 14:04:34 +01:00 committed by Fabian Dill
parent 5d0748983b
commit 9e4cb6ee33
2 changed files with 3 additions and 2 deletions

View File

@ -45,7 +45,8 @@ def create_regions(world: MultiWorld, player: int, locations: Tuple[LocationData
create_region(world, player, locations_per_region, location_cache, 'Space time continuum')
]
throwIfAnyLocationIsNotAssignedToARegion(regions, locations_per_region.keys())
if __debug__:
throwIfAnyLocationIsNotAssignedToARegion(regions, locations_per_region.keys())
world.regions += regions

View File

@ -37,7 +37,7 @@ class TimespinnerWorld(World):
def generate_early(self):
# in generate_early the start_inventory isnt copied over to precollected_items, so we can still moffify the options directly
# in generate_early the start_inventory isnt copied over to precollected_items yet, so we can still modify the options directly
if self.world.start_inventory[self.player].value.pop('Meyef', 0) > 0:
self.world.StartWithMeyef[self.player].value = self.world.StartWithMeyef[self.player].option_true
if self.world.start_inventory[self.player].value.pop('Talaria Attachment', 0) > 0: