actually launch the randomization

master
Lucent 2023-10-13 00:27:29 +02:00
parent bd7e1bc15d
commit 409efe14ac
1 changed files with 66 additions and 64 deletions

View File

@ -5021,6 +5021,7 @@ def start_randomizer(rom, settings):
else:
Patch = False
settings.pop('Patch')
for loop in range(repeat):
initialize()
SeedSettings = settings.copy()
@ -5028,6 +5029,7 @@ def start_randomizer(rom, settings):
print('Debug generation enabled')
if loop > 0:
SeedValue = str(random.randrange(sys.maxsize))
Difficulty = SeedSettings['Difficulty']
DamageRuns = SeedSettings['DamageRuns']
random.seed(SeedValue + str(SeedSettings))