mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Clients: compatibility change for old Intel graphics.
This commit is contained in:
@@ -364,13 +364,11 @@ class VariaRandomizer:
|
||||
self.seed = args.seed
|
||||
logger.debug("seed: {}".format(self.seed))
|
||||
|
||||
seed4rand = self.seed
|
||||
if args.raceMagic is not None:
|
||||
if args.raceMagic <= 0 or args.raceMagic >= 0x10000:
|
||||
print("Invalid magic")
|
||||
sys.exit(-1)
|
||||
seed4rand = self.seed ^ args.raceMagic
|
||||
# random.seed(seed4rand)
|
||||
|
||||
# if no max diff, set it very high
|
||||
if args.maxDifficulty:
|
||||
if args.maxDifficulty == 'random':
|
||||
|
Reference in New Issue
Block a user