Revert "Delete defib timer"

This commit is contained in:
cadyn
2021-01-24 22:48:39 -08:00
committed by GitHub
parent 96cc55b09f
commit fe84e96797
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -288,7 +288,7 @@
/obj/item/weapon/shockpaddles/proc/can_revive(mob/living/carbon/human/H) //This is checked right before attempting to revive
var/obj/item/organ/internal/brain/brain = H.internal_organs_by_name[O_BRAIN]
if(H.should_have_organ(O_BRAIN) && (!brain) ) //CHOMPEdit Defib Timer Removal
if(H.should_have_organ(O_BRAIN) && (!brain || brain.defib_timer <= 0 ) )
return "buzzes, \"Resuscitation failed - Excessive neural degeneration. Further attempts futile.\""
H.updatehealth()