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
This commit is contained in:
n3ophyt3@gmail.com
2011-02-03 16:53:26 +00:00
parent 5fe1d3e99f
commit 311eb7e2b7
@@ -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)