Skip to content

Commit

Permalink
Mark objects as not randomized when we generate a new seed with the s…
Browse files Browse the repository at this point in the history
…ame process to make sure everything gets shuffled again properly
  • Loading branch information
DorkmasterFlek committed Jun 15, 2018
1 parent 5f655cc commit c07f37d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion randomizer/logic_old/randomizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1636,8 +1636,11 @@ def randomize_for_web(seed, mode, debug_mode=False, randomize_character_stats=Tr

objects = sort_good_order(objects)
for o in objects:
# Set debug mode flag and mark all objects as not randomized yet in case of previous seed.
o.debug_mode = debug_mode
e = o.every
o.randomized = False
for e in o.every:
e.randomized = False

for o in objects:
if not hasattr(o, "flag") or o.flag in flags:
Expand Down

0 comments on commit c07f37d

Please sign in to comment.