Small cleanup
This commit is contained in:
@@ -959,7 +959,7 @@ def do_mandatory_connections(avail, entrances, cave_options, must_exit):
|
||||
|
||||
if avail.world.logic[avail.player] in ['owglitches', 'hybridglitches', 'nologic']:
|
||||
import OverworldGlitchRules
|
||||
for entrance in OverworldGlitchRules.get_non_mandatory_exits(avail.inverted):
|
||||
for entrance in OverworldGlitchRules.inverted_non_mandatory_exits if avail.inverted else OverworldGlitchRules.open_non_mandatory_exits:
|
||||
invalid_connections[entrance] = set()
|
||||
if entrance in must_exit:
|
||||
must_exit.remove(entrance)
|
||||
|
||||
Reference in New Issue
Block a user