mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 20:45:28 +01:00
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:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user