TFH playthrough fix

copy_world overwrites Murahdahla's logic and either needs to be reset through set_rules to work properly.
This commit is contained in:
StructuralMike
2021-03-16 14:15:56 +01:00
parent b108398545
commit 6bf3479e08
2 changed files with 2 additions and 1 deletions

View File

@@ -196,7 +196,6 @@ def generate_itempool(world, player):
region = world.get_region('Light World',player)
loc = Location(player, "Murahdahla", parent=region)
loc.access_rule = lambda state: state.item_count('Triforce Piece', player) + state.item_count('Power Star', player) >= state.world.treasure_hunt_count[player]
region.locations.append(loc)
world.dynamic_locations.append(loc)