don't infinitely recurse on attempting to log after shutdown (#76229)

This commit is contained in:
Zephyr
2023-06-23 22:13:34 -04:00
committed by GitHub
parent 0772ff423f
commit 2f26973584
-3
View File
@@ -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))