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 CitadelStationBot
parent 9652fc4127
commit a8bd042742

View File

@@ -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()