This commit is contained in:
Fabian Dill
2020-09-19 15:20:55 +02:00
parent 81a23266c9
commit 0cf9118cc0
2 changed files with 3 additions and 1 deletions

View File

@@ -102,6 +102,8 @@ def mirrorless_path_to_castle_courtyard(world, player):
else:
queue.append((entrance.connected_region, new_path))
raise Exception(f"Could not find mirrorless path to castle coutyard for Player {player}")
def set_rule(spot, rule):
spot.access_rule = rule