From 7a75910bb02702a6b6c188850a81036762a97d07 Mon Sep 17 00:00:00 2001 From: Crazylemon64 Date: Tue, 23 Aug 2016 02:50:51 -0700 Subject: [PATCH] Peoples' limbs are no longer given a wound cleanup timer if they don't need it --- code/modules/surgery/organs/organ_external.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/surgery/organs/organ_external.dm b/code/modules/surgery/organs/organ_external.dm index e2702b36afe..4033379ed64 100644 --- a/code/modules/surgery/organs/organ_external.dm +++ b/code/modules/surgery/organs/organ_external.dm @@ -411,8 +411,8 @@ This function completely restores a damaged organ to perfect condition. last_dam = brute_dam + burn_dam if(germ_level) return 1 - if(!wound_cleanup_timer) - wound_cleanup_timer = addtimer(src, "cleanup_wounds", SecondsToTicks(600), 1, wounds) + if(!wound_cleanup_timer && wounds.len) + wound_cleanup_timer = addtimer(src, "cleanup_wounds", SecondsToTicks(600), unique = 1, wounds) if(update_icon()) owner.UpdateDamageIcon(1)