From a8bd04274242f8a3ab7ae9a388b93b67ba90e53c Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Wed, 24 Jan 2018 20:27:21 -0500 Subject: [PATCH] Forces test run to run with a set random seed (#34912) --- code/controllers/master.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/controllers/master.dm b/code/controllers/master.dm index 57c2323c42..c34431052f 100644 --- a/code/controllers/master.dm +++ b/code/controllers/master.dm @@ -65,7 +65,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()