mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
[MIRROR] fix vorepanel button for AI (#11737)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
03fd0a5ef9
commit
0e057e99fb
@@ -18,6 +18,8 @@
|
||||
|
||||
/decl/hierarchy/outfit/job/equip_id(mob/living/carbon/human/H, rank, assignment)
|
||||
var/obj/item/card/id/C = ..()
|
||||
if(!C)
|
||||
return
|
||||
var/datum/job/J = job_master.GetJob(rank)
|
||||
if(J)
|
||||
C.access = J.get_access()
|
||||
|
||||
Reference in New Issue
Block a user