Skip to content

Commit

Permalink
sm64ex: Fix randomizing Courses and Secrets separately (ArchipelagoMW…
Browse files Browse the repository at this point in the history
…#2637)

Backported from ArchipelagoMW#2569
  • Loading branch information
N00byKing authored and Jouramie committed Feb 28, 2024
1 parent 233bd74 commit 18c5a38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worlds/sm64ex/Rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def fix_reg(entrance_map: dict, entrance: SM64Levels, invalid_regions: set,
def set_rules(world, player: int, area_connections: dict):
randomized_level_to_paintings = sm64_level_to_paintings.copy()
randomized_level_to_secrets = sm64_level_to_secrets.copy()
if world.AreaRandomizer[player].value == 1: # Some randomization is happening, randomize Courses
if world.AreaRandomizer[player].value >= 1: # Some randomization is happening, randomize Courses
randomized_level_to_paintings = shuffle_dict_keys(world,sm64_level_to_paintings)
if world.AreaRandomizer[player].value == 2: # Randomize Secrets as well
randomized_level_to_secrets = shuffle_dict_keys(world,sm64_level_to_secrets)
Expand Down

0 comments on commit 18c5a38

Please sign in to comment.