mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 23:27:34 +01:00
Quick Harddel Fixeees (#78253)
This commit is contained in:
@@ -193,9 +193,9 @@ GLOBAL_LIST_EMPTY(employmentCabinets)
|
||||
/obj/structure/filingcabinet/employment/proc/fillCurrent()
|
||||
//This proc fills the cabinet with the current crew.
|
||||
for(var/datum/record/locked/target in GLOB.manifest.locked)
|
||||
var/datum/mind/mind_ref = target.mind_ref
|
||||
if(mind_ref && ishuman(mind_ref.current))
|
||||
addFile(mind_ref.current)
|
||||
var/datum/mind/filed_mind = target.mind_ref.resolve()
|
||||
if(filed_mind && ishuman(filed_mind.current))
|
||||
addFile(filed_mind.current)
|
||||
|
||||
/obj/structure/filingcabinet/employment/proc/addFile(mob/living/carbon/human/employee)
|
||||
new /obj/item/paper/employment_contract(src, employee.mind.name)
|
||||
|
||||
Reference in New Issue
Block a user