From bed853529d0e490c432f76208a6abd912ceec51d Mon Sep 17 00:00:00 2001 From: SkyMarshal Date: Fri, 1 Jun 2012 17:38:28 -0700 Subject: [PATCH] Made it easier to log into the detective comp. --- code/modules/DetectiveWork/detective_work.dm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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"