From 94d3a68f437cb914a870b685b0fa74ca16c70dd1 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Thu, 21 May 2020 13:20:36 +0200 Subject: [PATCH] attempt at fixing a retro - crossed TR keylogic crash --- Rules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rules.py b/Rules.py index 6e28807c..8456c828 100644 --- a/Rules.py +++ b/Rules.py @@ -867,7 +867,7 @@ def set_trock_key_rules(world, player): if world.bigkeyshuffle[player] and can_reach_big_chest: # Must not go in the dungeon - all 3 available chests (Chomps, Big Chest, Crystaroller) must be keys to access laser bridge, and the big key is required first non_big_key_locations += ['Turtle Rock - Chain Chomps', 'Turtle Rock - Compass Chest', 'Turtle Rock - Roller Room - Left', 'Turtle Rock - Roller Room - Right'] - else: + elif not world.retro[player]: # A key is required in the Big Key Chest to prevent a possible softlock. Place an extra key to ensure 100% locations still works world.push_item(world.get_location('Turtle Rock - Big Key Chest', player), ItemFactory('Small Key (Turtle Rock)', player), False) world.get_location('Turtle Rock - Big Key Chest', player).event = True