mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Fix performance
This commit is contained in:
@@ -4,13 +4,13 @@ import random
|
|||||||
|
|
||||||
|
|
||||||
def link_entrances(world):
|
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
|
# setup mandatory connections
|
||||||
for exitname, regionname in mandatory_connections:
|
for exitname, regionname in mandatory_connections:
|
||||||
connect_simple(world, exitname, regionname)
|
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 we do not shuffle, set default connections
|
||||||
if world.shuffle == 'vanilla':
|
if world.shuffle == 'vanilla':
|
||||||
for exitname, regionname in default_connections:
|
for exitname, regionname in default_connections:
|
||||||
|
|||||||
Reference in New Issue
Block a user