From b7bfc0c0fd6f2b02888b218f8862db7140daafbb Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Fri, 18 Dec 2020 08:15:56 +0100 Subject: [PATCH] [MIRROR] Fixes HARS replacing the brain (which fixes various traumas) (#2213) * putting a gun to my stupid fat brain (#55556) Our new Pull Request is now established, and has an appearance that promises permanency; but in this world nothing can be said to be certain, except death and HARS bugs. * Fixes HARS replacing the brain (which fixes various traumas) Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com> --- code/datums/mutations/body.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/datums/mutations/body.dm b/code/datums/mutations/body.dm index b95abe073c8..1a8cea0d210 100644 --- a/code/datums/mutations/body.dm +++ b/code/datums/mutations/body.dm @@ -498,7 +498,7 @@ if(!successful) stack_trace("HARS mutation head regeneration failed! (usually caused by headless syndrome having a head)") return TRUE - owner.dna.species.regenerate_organs(owner, excluded_zones = list(BODY_ZONE_CHEST)) //only regenerate head + owner.dna.species.regenerate_organs(owner, replace_current = FALSE, excluded_zones = list(BODY_ZONE_CHEST)) //replace_current needs to be FALSE to prevent weird adding and removing mutation healing owner.apply_damage(damage = 50, damagetype = BRUTE, def_zone = BODY_ZONE_HEAD) //and this to DISCOURAGE organ farming, or at least not make it free. owner.visible_message("[owner]'s head returns with a sickening crunch!", "Your head regrows with a sickening crack! Ouch.") new /obj/effect/gibspawner/generic(get_turf(owner), owner)