Fix performance

This commit is contained in:
Kevin Cathcart 2018-03-01 21:34:19 -05:00
parent 0adc06fb03
commit 0c486593c5
1 changed files with 3 additions and 3 deletions

View File

@ -4,13 +4,13 @@ import random
def link_entrances(world):
connect_two_way(world, 'Links House', 'Links House Exit') # unshuffled. For now
connect_exit(world, 'Chris Houlihan Room Exit', 'Links House') # should always match link's house, except for plandos
# setup mandatory connections
for exitname, regionname in mandatory_connections:
connect_simple(world, exitname, regionname)
connect_two_way(world, 'Links House', 'Links House Exit') # unshuffled. For now
connect_exit(world, 'Chris Houlihan Room Exit', 'Links House') # should always match link's house, except for plandos
# if we do not shuffle, set default connections
if world.shuffle == 'vanilla':
for exitname, regionname in default_connections: