Minor district error
This commit is contained in:
@@ -111,7 +111,7 @@ def resolve_districts(world):
|
|||||||
visited = set()
|
visited = set()
|
||||||
while len(queue) > 0:
|
while len(queue) > 0:
|
||||||
region = queue.pop()
|
region = queue.pop()
|
||||||
if not region:
|
if region is None:
|
||||||
RuntimeError(f'No region connected to entrance: {ent.name} Likely a missing entry in OWExitTypes')
|
RuntimeError(f'No region connected to entrance: {ent.name} Likely a missing entry in OWExitTypes')
|
||||||
visited.add(region)
|
visited.add(region)
|
||||||
if region.type == RegionType.Cave:
|
if region.type == RegionType.Cave:
|
||||||
|
|||||||
Reference in New Issue
Block a user