From 7980b080e37280f62e33cc0161903e60365663e8 Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Sat, 24 Mar 2018 20:14:05 -0400 Subject: [PATCH] Restarting the controller no longer resets the config --- code/controllers/master.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/controllers/master.dm b/code/controllers/master.dm index 70552e0ccb..2b1e9bcda9 100644 --- a/code/controllers/master.dm +++ b/code/controllers/master.dm @@ -62,7 +62,8 @@ GLOBAL_REAL(Master, /datum/controller/master) = new var/static/current_ticklimit = TICK_LIMIT_RUNNING /datum/controller/master/New() - config = new + if(!config) + config = new // Highlander-style: there can only be one! Kill off the old and replace it with the new. if(!random_seed)