Move setting of `MultiWorld.is_race` to `MultiWorld.secure`.

This commit is contained in:
Hussein Farran 2021-07-20 14:21:27 -04:00 committed by Fabian Dill
parent bfad85223b
commit b809d76b79
2 changed files with 1 additions and 1 deletions

View File

@ -151,6 +151,7 @@ class MultiWorld():
def secure(self):
self.random = secrets.SystemRandom()
self.is_race = True
@functools.cached_property
def player_ids(self):

View File

@ -58,7 +58,6 @@ def main(args, seed=None):
world.seed = get_seed(seed)
if args.race:
world.secure()
world.is_race = True
else:
world.random.seed(world.seed)
world.seed_name = str(args.outputname if args.outputname else world.seed)