aaaand the rest of the modules folder
This commit is contained in:
@@ -187,7 +187,6 @@ GLOBAL_LIST_EMPTY(employmentCabinets)
|
||||
/obj/structure/filingcabinet/employment/Initialize()
|
||||
. = ..()
|
||||
GLOB.employmentCabinets += src
|
||||
return ..()
|
||||
|
||||
/obj/structure/filingcabinet/employment/Destroy()
|
||||
GLOB.employmentCabinets -= src
|
||||
@@ -199,8 +198,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