TS: Fixed review comments
This commit is contained in:
parent
5d0748983b
commit
9e4cb6ee33
|
@ -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')
|
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
|
world.regions += regions
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,7 @@ class TimespinnerWorld(World):
|
||||||
|
|
||||||
|
|
||||||
def generate_early(self):
|
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:
|
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
|
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:
|
if self.world.start_inventory[self.player].value.pop('Talaria Attachment', 0) > 0:
|
||||||
|
|
Loading…
Reference in New Issue