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