Replaced datacore mob reference with a mind reference

This commit is contained in:
Ian Turk
2017-08-30 17:05:31 -06:00
parent 2580b81465
commit 246b50bd4e
3 changed files with 7 additions and 6 deletions
+3 -2
View File
@@ -200,8 +200,9 @@ GLOBAL_LIST_EMPTY(employmentCabinets)
var/datum/data/record/G = record
if(!G)
continue
if(G.fields["reference"])
addFile(G.fields["reference"])
var/datum/mind/M = G.fields["mindref"]
if(M && ishuman(M.current))
addFile(M.current)
/obj/structure/filingcabinet/employment/proc/addFile(mob/living/carbon/human/employee)