Merge pull request #27309 from Cyberboss/patch-82

Initialize failures are now sent to their own logfile
This commit is contained in:
Leo
2017-05-16 20:08:26 -03:00
committed by GitHub

View File

@@ -150,9 +150,9 @@ SUBSYSTEM_DEF(atoms)
/datum/controller/subsystem/atoms/Shutdown() /datum/controller/subsystem/atoms/Shutdown()
var/initlog = InitLog() var/initlog = InitLog()
if(initlog) if(initlog)
log_world(initlog) text2file("[GLOB.log_directory]/initialize.log", initlog)
#undef BAD_INIT_QDEL_BEFORE #undef BAD_INIT_QDEL_BEFORE
#undef BAD_INIT_DIDNT_INIT #undef BAD_INIT_DIDNT_INIT
#undef BAD_INIT_SLEPT #undef BAD_INIT_SLEPT
#undef BAD_INIT_NO_HINT #undef BAD_INIT_NO_HINT