Forces test run to run with a set random seed (#34912)

This commit is contained in:
Jordan Brown
2018-01-24 20:27:21 -05:00
committed by Emmett Gaines
parent 8987b18826
commit 52872cd477

View File

@@ -66,7 +66,7 @@ GLOBAL_REAL(Master, /datum/controller/master) = new
// Highlander-style: there can only be one! Kill off the old and replace it with the new.
if(!random_seed)
random_seed = rand(1, 1e9)
random_seed = (TEST_RUN_PARAMETER in world.params) ? 29051994 : rand(1, 1e9)
rand_seed(random_seed)
var/list/_subsystems = list()