allow generating worlds without Hollow Knight

This commit is contained in:
Fabian Dill 2021-03-23 21:56:11 +01:00
parent a5ab152c2b
commit 4985daefee
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ def main(args, seed=None):
world.game = args.game.copy()
import Options
for hk_option in Options.hollow_knight_options:
setattr(world, hk_option, getattr(args, hk_option))
setattr(world, hk_option, getattr(args, hk_option, {}))
world.rom_seeds = {player: random.Random(world.random.randint(0, 999999999)) for player in range(1, world.players + 1)}