From ffe541adec7a15fe3196687f4461479487f7bfd4 Mon Sep 17 00:00:00 2001 From: Chinsky Date: Sun, 18 Nov 2012 11:05:21 +0400 Subject: [PATCH] Fixes issue #1970 Did not unlock CPR in case CPR was not completed successfully. --- code/modules/mob/living/carbon/human/inventory.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/carbon/human/inventory.dm b/code/modules/mob/living/carbon/human/inventory.dm index d3519e65cae..614715275e9 100644 --- a/code/modules/mob/living/carbon/human/inventory.dm +++ b/code/modules/mob/living/carbon/human/inventory.dm @@ -461,6 +461,7 @@ The else statement is for equipping stuff to empty slots. It can still be worn/put on as normal. */ /obj/effect/equip_e/human/done() //TODO: And rewrite this :< ~Carn + target.cpr_time = 1 if(!source || !target) return //Target or source no longer exist if(source.loc != s_loc) return //source has moved if(target.loc != t_loc) return //target has moved @@ -549,7 +550,6 @@ It can still be worn/put on as normal. O.show_message("\red [source] performs CPR on [target]!", 1) target << "\blue You feel a breath of fresh air enter your lungs. It feels good." source << "\red Repeat at least every 7 seconds." - target.cpr_time = 1 if("dnainjector") var/obj/item/weapon/dnainjector/S = item if(S)