From 1be4d0a019d8885faf8d13aa08bc7f043861279f Mon Sep 17 00:00:00 2001 From: Arokha Sieyes Date: Fri, 4 Nov 2016 14:24:15 -0400 Subject: [PATCH] FBP/Synth wound sprite updater It returned before it got to the bottom with robotic limb repair, which would leave the wound sprites on them unless an admin forced an icon update on them. So now we update them just like we do for organics a few lines below when wound levels change. --- code/modules/organs/organ_external.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/organs/organ_external.dm b/code/modules/organs/organ_external.dm index 7503bc30cd3..cae99400299 100644 --- a/code/modules/organs/organ_external.dm +++ b/code/modules/organs/organ_external.dm @@ -675,6 +675,9 @@ Note that amputating the affected organ does in fact remove the infection from t for(var/datum/wound/W in wounds) //Repaired wounds disappear though if(W.damage <= 0) //and they disappear right away wounds -= W //TODO: robot wounds for robot limbs + src.update_damages() + if (update_icon()) + owner.UpdateDamageIcon(1) return for(var/datum/wound/W in wounds)