From beb028d1965df824e7343c227470ba4fbd59c6af Mon Sep 17 00:00:00 2001 From: Chinsky Date: Sat, 17 Nov 2012 00:17:50 +0400 Subject: [PATCH] Using spawn in proc that deletes self was not so smart... GC outrun me. --- code/modules/mob/living/carbon/human/inventory.dm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/code/modules/mob/living/carbon/human/inventory.dm b/code/modules/mob/living/carbon/human/inventory.dm index d5dec03baaf..d3519e65cae 100644 --- a/code/modules/mob/living/carbon/human/inventory.dm +++ b/code/modules/mob/living/carbon/human/inventory.dm @@ -549,8 +549,7 @@ 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." - spawn(3) - target.cpr_time = 1 + target.cpr_time = 1 if("dnainjector") var/obj/item/weapon/dnainjector/S = item if(S)