diff --git a/code/modules/DetectiveWork/detective_work.dm b/code/modules/DetectiveWork/detective_work.dm index 730ca687e82..4c9b20b7281 100644 --- a/code/modules/DetectiveWork/detective_work.dm +++ b/code/modules/DetectiveWork/detective_work.dm @@ -134,10 +134,8 @@ obj/machinery/computer/forensic_scanning authenticated = 1 updateDialog() return - var/obj/item/weapon/card/id/I = M.equipped() - if (I && istype(I)) - if(src.check_access(I)) - authenticated = 1 + if (allowed(M)) + authenticated = 1 //usr << "\green Access Granted" //if(!authenticated) //usr << "\red Access Denied"