Fix some more multiworld conflict issues
This commit is contained in:
@@ -1912,7 +1912,7 @@ def connect_mandatory_exits(world, entrances, caves, must_be_exits, player):
|
|||||||
|
|
||||||
if world.logic in ['owglitches', 'nologic']:
|
if world.logic in ['owglitches', 'nologic']:
|
||||||
import OverworldGlitchRules
|
import OverworldGlitchRules
|
||||||
for entrance in OverworldGlitchRules.get_non_mandatory_exits(world.mode[player] == 'inverted'):
|
for entrance in OverworldGlitchRules.get_non_mandatory_exits(world.mode == 'inverted'):
|
||||||
invalid_connections[entrance] = set()
|
invalid_connections[entrance] = set()
|
||||||
if entrance in must_be_exits:
|
if entrance in must_be_exits:
|
||||||
must_be_exits.remove(entrance)
|
must_be_exits.remove(entrance)
|
||||||
|
|||||||
2
Main.py
2
Main.py
@@ -241,7 +241,7 @@ def copy_world(world):
|
|||||||
ret.boss_shuffle = world.boss_shuffle
|
ret.boss_shuffle = world.boss_shuffle
|
||||||
|
|
||||||
for player in range(1, world.players + 1):
|
for player in range(1, world.players + 1):
|
||||||
if world.mode[player] != 'inverted':
|
if world.mode != 'inverted':
|
||||||
create_regions(ret, player)
|
create_regions(ret, player)
|
||||||
else:
|
else:
|
||||||
create_inverted_regions(ret, player)
|
create_inverted_regions(ret, player)
|
||||||
|
|||||||
Reference in New Issue
Block a user