cleaned up brain transfer

This commit is contained in:
Tastyfish
2012-01-09 01:24:42 -05:00
parent 409da96055
commit 58c3d6ebe3
2 changed files with 8 additions and 1 deletions
@@ -517,6 +517,12 @@ CIRCULAR SAW
if(user.zone_sel.selecting == "head" || istype(M, /mob/living/carbon/metroid))
var/mob/living/carbon/human/H = M
if(istype(H) && H.organs["head"])
var/datum/organ/external/affecting = H.organs["head"]
if(affecting.destroyed)
return ..()
if(istype(H) && ( \
(H.head && H.head.flags & HEADCOVERSEYES) || \
(H.wear_mask && H.wear_mask.flags & MASKCOVERSEYES) || \