mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-21 04:57:57 +01:00
don't infinitely recurse on attempting to log after shutdown (#76229)
This commit is contained in:
@@ -260,9 +260,6 @@ GENERAL_PROTECT_DATUM(/datum/log_holder)
|
||||
/// the data list is optional and will be recursively json serialized.
|
||||
/datum/log_holder/proc/Log(category, message, list/data)
|
||||
// This is Log because log is a byond internal proc
|
||||
if(shutdown)
|
||||
stack_trace("Performing logging after shutdown! This might not be functional in the future!")
|
||||
// but for right now it's fine
|
||||
|
||||
// do not include the message because these go into the runtime log and we might be secret!
|
||||
if(!istext(message))
|
||||
|
||||
Reference in New Issue
Block a user