Updates PR with Fox's suggestions

This commit is contained in:
ZomgPonies
2015-03-24 19:27:05 -04:00
parent 3f51d1135a
commit 8dfaa39ecb
2 changed files with 12 additions and 12 deletions
@@ -121,18 +121,6 @@
/obj/item/weapon/grenade/iedcasing/prime() //Blowing that can up
update_mob()
explosion(src.loc,0,0,2,2) //explosion(src.loc,-1,-1,-1, flame_range = range)
if(istype(loc, /obj/item/weapon/legcuffs/beartrap))
var/obj/item/weapon/legcuffs/beartrap/boomtrap = loc
if(istype(boomtrap.loc, /mob/living/carbon/human))
var/mob/living/carbon/human/H = loc.loc
if(H.legcuffed)
var/datum/organ/external/l = H.get_organ("l_leg")
var/datum/organ/external/r = H.get_organ("r_leg")
if(l && !(l.status & ORGAN_DESTROYED))
l.status |= ORGAN_DESTROYED
if(r && !(r.status & ORGAN_DESTROYED))
r.status |= ORGAN_DESTROYED
qdel(H.legcuffed)
qdel(src)
/obj/item/weapon/grenade/iedcasing/examine(mob/user)