mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-21 13:05:36 +01:00
Replaced datacore mob reference with a mind reference
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user