Fix startup double runtimes again (#56047)

Prevents runtimes that occur before /world/New is called from runtiming in /world/Error due to lack of the config being loaded.
This commit is contained in:
Jordan Brown
2021-01-09 22:04:58 -05:00
committed by GitHub
parent 5375c0336d
commit cd22f91ddf
2 changed files with 6 additions and 1 deletions
@@ -21,6 +21,9 @@
var/motd
var/policy
/// If the configuration is loaded
var/loaded = FALSE
var/static/regex/ic_filter_regex
/datum/controller/configuration/proc/admin_reload()
@@ -53,6 +56,8 @@
LoadPolicy()
LoadChatFilter()
loaded = TRUE
if (Master)
Master.OnConfigLoad()