allow generating worlds without Hollow Knight
This commit is contained in:
parent
a5ab152c2b
commit
4985daefee
2
Main.py
2
Main.py
|
@ -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)}
|
||||
|
||||
|
|
Loading…
Reference in New Issue