From df037c54ff9abec310b429c74fbcfa9da4547207 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Mon, 30 Aug 2021 23:52:40 +0200 Subject: [PATCH] LttP: fix dungeon original item rule calling Found by Espeon --- worlds/alttp/Dungeons.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worlds/alttp/Dungeons.py b/worlds/alttp/Dungeons.py index a2c3b8c3..76d4953f 100644 --- a/worlds/alttp/Dungeons.py +++ b/worlds/alttp/Dungeons.py @@ -146,7 +146,7 @@ def fill_dungeons_restrictive(autoworld, world): dungeon = location.parent_region.dungeon orig_rule = location.item_rule location.item_rule = lambda item, dungeon=dungeon, orig_rule=orig_rule: \ - (not (item.player, item.name) in dungeon_specific or item.dungeon is dungeon) and orig_rule + (not (item.player, item.name) in dungeon_specific or item.dungeon is dungeon) and orig_rule(item) world.random.shuffle(locations) all_state_base = world.get_all_state()