From 4ba53e0eeb386fa2d75e0486fc81e130fbf0eb94 Mon Sep 17 00:00:00 2001 From: carnie Date: Thu, 22 Aug 2013 12:12:32 +0100 Subject: [PATCH] Fixes some more issues with sechuds - you can no longer look at yourself to change your status - setting somebody else's status no longer incorrectly uses your name for the record-lookup --- code/modules/mob/living/carbon/human/examine.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/living/carbon/human/examine.dm b/code/modules/mob/living/carbon/human/examine.dm index 608cef17e34..4118ec7dc7d 100644 --- a/code/modules/mob/living/carbon/human/examine.dm +++ b/code/modules/mob/living/carbon/human/examine.dm @@ -273,12 +273,12 @@ if(istype(usr, /mob/living/carbon/human)) var/mob/living/carbon/human/H = usr if(istype(H.glasses, /obj/item/clothing/glasses/hud/security) || istype(H.glasses, /obj/item/clothing/glasses/sunglasses/sechud)) - if(usr.stat || H != usr) //|| !usr.canmove || usr.restrained()) Fluff: Sechuds have eye-tracking technology and sets 'arrest' to people that the wearer looks and blinks at. + if(usr.stat || usr == src) //|| !usr.canmove || usr.restrained()) Fluff: Sechuds have eye-tracking technology and sets 'arrest' to people that the wearer looks and blinks at. return //Non-fluff: This allows sec to set people to arrest as they get disarmed or beaten var/criminal = "None" - var/perpname = H.get_face_name(H.get_id_name("")) + var/perpname = get_face_name(get_id_name("")) if(perpname) var/datum/data/record/R = find_record("name", perpname, data_core.security) if(R)