Config dir again except this time it works (#34606)

* Revert "Revert "Fix config_dir usage (#34469)""

* Make config exist before world/New but not load it until then
This commit is contained in:
Jordan Brown
2018-01-21 13:32:12 -05:00
committed by AnturK
parent b4a8b8b8b1
commit 015258d01c
14 changed files with 33 additions and 31 deletions

View File

@@ -62,8 +62,9 @@ GLOBAL_REAL(Master, /datum/controller/master) = new
var/static/current_ticklimit = TICK_LIMIT_RUNNING
/datum/controller/master/New()
config = 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)
rand_seed(random_seed)