From 311eb7e2b7c5de9b824018af77f3851228f20fe1 Mon Sep 17 00:00:00 2001 From: "n3ophyt3@gmail.com" Date: Thu, 3 Feb 2011 16:53:26 +0000 Subject: [PATCH] Electrocution code cares if you're wearing gloves again. Be careful what all you comment out when reverting shit you don't like, people! git-svn-id: http://tgstation13.googlecode.com/svn/trunk@947 316c924e-a436-60f5-8080-3fe189b3f50e --- code/modules/mob/living/carbon/human/human.dm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/code/modules/mob/living/carbon/human/human.dm b/code/modules/mob/living/carbon/human/human.dm index eb512956e5b..71168156b12 100644 --- a/code/modules/mob/living/carbon/human/human.dm +++ b/code/modules/mob/living/carbon/human/human.dm @@ -2648,8 +2648,8 @@ if (istype(id)) return id -///mob/living/carbon/human/electrocute_act(var/shock_damage, var/obj/source, var/siemens_coeff = 1.0) -// if(src.gloves) -// var/obj/item/clothing/gloves/G = src.gloves -// siemens_coeff = G.siemens_coefficient -// return ..(shock_damage,source,siemens_coeff) +/mob/living/carbon/human/electrocute_act(var/shock_damage, var/obj/source, var/siemens_coeff = 1.0) + if(src.gloves) + var/obj/item/clothing/gloves/G = src.gloves + siemens_coeff = G.siemens_coefficient + return ..(shock_damage,source,siemens_coeff)