[MIRROR] Job rank and radio channel rework (#8965)

Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com>
Co-authored-by: Kashargul <KashL@t-online.de>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2
2024-09-17 21:24:13 +02:00
committed by GitHub
co-authored by Heroman3003 Kashargul Kashargul
parent 6159cecfc8
commit 4153768ba1
444 changed files with 3341 additions and 2440 deletions
+1 -1
View File
@@ -191,7 +191,7 @@
// Check for required access.
var/obj/item/weapon/card/id/current_id = M.wear_id
if(citem.req_access && citem.req_access > 0) // These are numbers, not lists
if(!(istype(current_id) && (citem.req_access in current_id.access)))
if(!(istype(current_id) && (citem.req_access in current_id.GetAccess())))
log_debug("Custom Item: [key_name(M)] Does not have required access.")
continue