From 95b1c5396ee0ad442c35e1661445ad3d95de2b84 Mon Sep 17 00:00:00 2001 From: ihatethisengine Date: Fri, 4 Aug 2023 18:00:35 +0300 Subject: [PATCH] hud deletion on death --- .../living/carbon/xenomorph/mutators/strains/drone/healer.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/modules/mob/living/carbon/xenomorph/mutators/strains/drone/healer.dm b/code/modules/mob/living/carbon/xenomorph/mutators/strains/drone/healer.dm index 7af1ccf0d348..91bcf83f1ffd 100644 --- a/code/modules/mob/living/carbon/xenomorph/mutators/strains/drone/healer.dm +++ b/code/modules/mob/living/carbon/xenomorph/mutators/strains/drone/healer.dm @@ -212,6 +212,10 @@ if(percentage_transferred) holder.overlays += image('icons/mob/hud/hud.dmi', "xenoenergy[percentage_transferred]") +/datum/behavior_delegate/drone_healer/handle_death(mob/M) + var/image/holder = bound_xeno.hud_list[PLASMA_HUD] + holder.overlays.Cut() + /datum/action/xeno_action/activable/healer_sacrifice name = "Sacrifice" action_icon_state = "screech"