mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-12 10:42:37 +00:00
* fix string formatting for manifest no gbp (#75754) * fix string formatting for manifest no gbp --------- Co-authored-by: Zephyr <12817816+ZephyrTFA@users.noreply.github.com>
7 lines
412 B
Plaintext
7 lines
412 B
Plaintext
/// Logging for player manifest (ckey, name, job, special role, roundstart/latejoin)
|
|
/proc/log_manifest(ckey, datum/mind/mind, mob/body, latejoin = FALSE)
|
|
var/message = "[ckey] \\ [body.real_name] \\ [mind.assigned_role.title] \\ [mind.special_role || "NONE"] \\ [latejoin ? "LATEJOIN" : "ROUNDSTART"]"
|
|
logger.Log(LOG_CATEGORY_MANIFEST, message, list(
|
|
"mind" = mind, "body" = body, "latejoin" = latejoin
|
|
))
|