Merge pull request #4264 from Anewbe/decap_defib

Decapitation now stops defibrillation
This commit is contained in:
Neerti
2017-11-19 17:50:03 -05:00
committed by GitHub
3 changed files with 5 additions and 1 deletions

View File

@@ -279,6 +279,8 @@
spawn(1)
owner.update_hair()
get_icon()
if(vital) //This is just in case we ever add something that both a) Doesn't need a head to live, and b) Can be defibbed
owner.can_defib = 0
..()
/obj/item/organ/external/head/take_damage(brute, burn, sharp, edge, used_weapon = null, list/forbidden_limbs = list())