Fixed issue with non crossworld ER modes not clearing out entrances from previous attempts

This commit is contained in:
codemann8
2023-07-13 16:53:15 -05:00
parent e0bf8227fb
commit 119e289512

View File

@@ -69,6 +69,8 @@ def link_entrances_new(world, player):
avail_pool.one_way_map = one_way_map
global LW_Entrances, DW_Entrances
LW_Entrances = []
DW_Entrances = []
for e in [e for e in avail_pool.entrances if e not in drop_map]:
region = world.get_entrance(e, player).parent_region
if region.type == RegionType.LightWorld: