Skip to content

Commit

Permalink
Generate: provide version string under _Generator_Version instead of …
Browse files Browse the repository at this point in the history
…Archipelago
  • Loading branch information
Berserker66 committed Nov 28, 2021
1 parent 73ae180 commit 5e84900
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 @@ -353,7 +353,7 @@ def roll_linked_options(weights: dict) -> dict:

def roll_triggers(weights: dict, triggers: list) -> dict:
weights = weights.copy() # make sure we don't write back to other weights sets in same_settings
weights["_Generator_Version"] = "Archipelago" # Some means for triggers to know if the seed is on main or doors.
weights["_Generator_Version"] = Utils.__version__
for i, option_set in enumerate(triggers):
try:
currently_targeted_weights = weights
Expand Down

0 comments on commit 5e84900

Please sign in to comment.