Swamp Flooded Room logic re-work

Fix a minor bug
This commit is contained in:
aerinon
2020-12-05 10:37:58 -07:00
parent ba3bd4b648
commit fc13549ccf
3 changed files with 5 additions and 6 deletions

View File

@@ -1404,7 +1404,7 @@ def calc_allowance_and_dead_ends(builder, connections_tuple, world, player):
builder.allowance = starting_allowance
for entrance in needed_connections:
sector = find_sector(entrance, builder.sectors)
if sector not in used_sectors: # ignore things on same sector
if sector and sector not in used_sectors: # ignore things on same sector
is_destination = entrance in destination_entrances
connect_able = False
if entrance in connections.keys():