mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-18 18:46:24 +01:00
Makes sure log_to_dd doesn't fire if the config has not actually loaded yet (#17636)
This commit is contained in:
@@ -156,7 +156,7 @@
|
||||
|
||||
/proc/log_to_dd(text)
|
||||
to_world_log(text) //this comes before the config check because it can't possibly runtime
|
||||
if(CONFIG_GET(flag/log_world_output))
|
||||
if(config?.loaded && CONFIG_GET(flag/log_world_output))
|
||||
WRITE_LOG(GLOB.diary, "DD_OUTPUT: [text]")
|
||||
|
||||
/proc/log_error(text)
|
||||
|
||||
Reference in New Issue
Block a user