Skip to content

Commit

Permalink
Core: deepcopy plando items ArchipelagoMW#3841
Browse files Browse the repository at this point in the history
  • Loading branch information
Silvris authored Aug 24, 2024
1 parent d1a7fd7 commit 0fcca25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ def roll_settings(weights: dict, plando_options: PlandoOptions = PlandoOptions.b
continue
logging.warning(f"{option_key} is not a valid option name for {ret.game} and is not present in triggers.")
if PlandoOptions.items in plando_options:
ret.plando_items = game_weights.get("plando_items", [])
ret.plando_items = copy.deepcopy(game_weights.get("plando_items", []))
if ret.game == "A Link to the Past":
roll_alttp_settings(ret, game_weights)

Expand Down

0 comments on commit 0fcca25

Please sign in to comment.