Merge pull request #13492 from Heroman3003/role-pings

Experimental implementation of automated role pings
This commit is contained in:
Casey
2022-08-16 04:01:02 -04:00
committed by GitHub
8 changed files with 139 additions and 7 deletions
+5 -4
View File
@@ -131,12 +131,13 @@ SUBSYSTEM_DEF(job)
return department_datums[primary_department]
/datum/controller/subsystem/job/proc/get_ping_role(var/role)
var/datum/job/J = get_job(role)
if(J.requestable)
return get_primary_department_of_job(J)
// Someday it might be good to port code/game/jobs/job_controller.dm to here and clean it up.
/datum/controller/subsystem/job/proc/job_debug_message(message)
if(debug_messages)
log_debug("JOB DEBUG: [message]")