From a05061eb906c4c80540c93ae5c0fb9a90fa3f643 Mon Sep 17 00:00:00 2001 From: warriorstar-orion Date: Tue, 28 Oct 2025 07:01:17 -0400 Subject: [PATCH] log mob types in sentience polls (#30746) --- code/controllers/subsystem/SSghost_spawns.dm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/code/controllers/subsystem/SSghost_spawns.dm b/code/controllers/subsystem/SSghost_spawns.dm index 650d84872a9..fb2e9e7ab57 100644 --- a/code/controllers/subsystem/SSghost_spawns.dm +++ b/code/controllers/subsystem/SSghost_spawns.dm @@ -44,7 +44,11 @@ SUBSYSTEM_DEF(ghost_spawns) * * role_cleanname - The name override to display to clients */ /datum/controller/subsystem/ghost_spawns/proc/poll_candidates(question = "Would you like to play a special role?", role, antag_age_check = FALSE, poll_time = 30 SECONDS, ignore_respawnability = FALSE, min_hours = 0, flash_window = TRUE, check_antaghud = TRUE, source, role_cleanname, reason, dont_play_notice_sound = FALSE) - log_debug("Polling candidates [role ? "for [role_cleanname || role]" : "\"[question]\""] for [poll_time / 10] seconds") + var/mob/mob_source = source + if(role == ROLE_SENTIENT && istype(mob_source)) + log_debug("Polling candidates for sentient mob `[mob_source.type]` for [poll_time / 10] seconds") + else + log_debug("Polling candidates [role ? "for [role_cleanname || role]" : "\"[question]\""] for [poll_time / 10] seconds") // Start firing polls_active = TRUE