Fix issue with lamp not considered as required in open seeds.

This commit is contained in:
LLCoolDave 2017-05-22 19:50:21 +02:00
parent 2c35582ea0
commit 32591ea4dc
1 changed files with 1 additions and 1 deletions

View File

@ -332,7 +332,7 @@ def no_glitches_rules(world):
spot = world.get_location(spot)
else:
spot = world.get_entrance(spot)
if world.state == 'open' or check_is_dark_world(world.get_region(region)):
if world.mode == 'open' or check_is_dark_world(world.get_region(region)):
add_lamp_requirement(spot)
add_conditional_lamp('Misery Mire (Vitreous)', 'Misery Mire (Entrance)', 'Entrance')