Fixes IPC death runtimes

These seemed to happen consistently when they were EMP'd to death
This commit is contained in:
Krausus
2015-05-14 05:06:11 -04:00
parent 9a936944a3
commit b89c01391a
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -726,10 +726,10 @@
if (organ_name == "head") // do the head last as that's when the user will be transfered to the posibrain
continue
var/obj/item/organ/external/O = H.organs_by_name[organ_name]
if((O.body_part != UPPER_TORSO) && (O.body_part != LOWER_TORSO)) // We're making them fall apart, not gibbing them!
if(O && (O.body_part != UPPER_TORSO) && (O.body_part != LOWER_TORSO)) // We're making them fall apart, not gibbing them!
O.droplimb(1)
var/obj/item/organ/external/O = H.organs_by_name["head"]
O.droplimb(1)
if(O) O.droplimb(1)
//Species unarmed attacks
+1 -1
View File
@@ -220,7 +220,7 @@
else
droplimb(0,DROPLIMB_BLUNT)
owner_old.updatehealth()
if(owner_old) owner_old.updatehealth()
return update_icon()
/obj/item/organ/external/proc/heal_damage(brute, burn, internal = 0, robo_repair = 0)