Fix another bunny rule bug.
This commit is contained in:
6
Rules.py
6
Rules.py
@@ -1614,8 +1614,7 @@ def set_bunny_rules(world, player):
|
|||||||
if location.name in OWGSets.get_superbunny_accessible_locations():
|
if location.name in OWGSets.get_superbunny_accessible_locations():
|
||||||
possible_options.append(lambda state: path_to_access_rule(new_path, entrance) and state.has_Mirror(player))
|
possible_options.append(lambda state: path_to_access_rule(new_path, entrance) and state.has_Mirror(player))
|
||||||
continue
|
continue
|
||||||
else:
|
continue
|
||||||
continue
|
|
||||||
if new_region.is_dark_world:
|
if new_region.is_dark_world:
|
||||||
queue.append((new_region, new_path))
|
queue.append((new_region, new_path))
|
||||||
else:
|
else:
|
||||||
@@ -1716,8 +1715,7 @@ def set_inverted_bunny_rules(world, player):
|
|||||||
if location.name in OWGSets.get_superbunny_accessible_locations():
|
if location.name in OWGSets.get_superbunny_accessible_locations():
|
||||||
possible_options.append(lambda state: path_to_access_rule(new_path, entrance) and state.has_Mirror(player))
|
possible_options.append(lambda state: path_to_access_rule(new_path, entrance) and state.has_Mirror(player))
|
||||||
continue
|
continue
|
||||||
else:
|
continue
|
||||||
continue
|
|
||||||
if new_region.is_light_world:
|
if new_region.is_light_world:
|
||||||
queue.append((new_region, new_path))
|
queue.append((new_region, new_path))
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user