Fixed Limited OW to abide by Keep Similar option
This commit is contained in:
@@ -169,8 +169,7 @@ def link_overworld(world, player):
|
|||||||
if world.owCrossed[player] == 'chaos' and random.randint(0, 1):
|
if world.owCrossed[player] == 'chaos' and random.randint(0, 1):
|
||||||
crossed_edges.append(edge)
|
crossed_edges.append(edge)
|
||||||
elif world.owCrossed[player] == 'limited':
|
elif world.owCrossed[player] == 'limited':
|
||||||
crossed_candidates.append(forward_set)
|
crossed_candidates.append(edge)
|
||||||
break
|
|
||||||
if world.owCrossed[player] == 'limited':
|
if world.owCrossed[player] == 'limited':
|
||||||
random.shuffle(crossed_candidates)
|
random.shuffle(crossed_candidates)
|
||||||
for edge_set in crossed_candidates[:9]:
|
for edge_set in crossed_candidates[:9]:
|
||||||
|
|||||||
Reference in New Issue
Block a user