note player name for mirrorless courtyard path failure

This commit is contained in:
Fabian Dill
2020-11-06 03:25:26 +01:00
parent a865b7eb72
commit bb28cce24c
2 changed files with 4 additions and 4 deletions

View File

@@ -104,7 +104,7 @@ 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 courtyard for Player {player}")
raise Exception(f"Could not find mirrorless path to castle courtyard for Player {player} ({world.get_player_names(player)})")
def set_rule(spot, rule):
spot.access_rule = rule