Add race flag to APMC if AP is run with the race arg.

This commit is contained in:
Hussein Farran
2021-07-20 14:16:40 -04:00
committed by Fabian Dill
parent b53c5593a8
commit bfad85223b
3 changed files with 4 additions and 1 deletions

View File

@@ -58,6 +58,7 @@ 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)