variable capture my beloathed

This commit is contained in:
CookieCat
2023-09-09 19:47:18 -04:00
parent c5b811336f
commit 6cedbe8b3d

View File

@@ -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):