Merge branch 'master' into weapon-removal

This commit is contained in:
Guti
2024-09-18 18:07:43 +02:00
482 changed files with 5086 additions and 35138 deletions
+1 -1
View File
@@ -191,7 +191,7 @@
// Check for required access.
var/obj/item/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