diff --git a/worlds/ahit/Rules.py b/worlds/ahit/Rules.py index 4030a27e3c..6dea5555e7 100644 --- a/worlds/ahit/Rules.py +++ b/worlds/ahit/Rules.py @@ -636,7 +636,8 @@ def set_alps_rules(world: World): and state.has("Zipline Unlock - The Windmill Path", world.player)) for (loc, zipline) in zipline_unlocks.items(): - add_rule(world.multiworld.get_location(loc, world.player), lambda state: state.has(zipline, world.player)) + add_rule(world.multiworld.get_location(loc, world.player), + lambda state, z=zipline: state.has(z, world.player)) def set_dlc1_rules(world: World):