Oh yea it won't work otherwise.

This commit is contained in:
Ghommie
2019-11-03 18:16:19 +01:00
parent 4b667743b9
commit efbcce023a
2 changed files with 3 additions and 3 deletions

View File

@@ -145,7 +145,7 @@
hearers += owner
/obj/item/dullahan_relay/proc/unlist_head(datum/source, noheal, list/excluded_limbs)
excluded_limbs += BODY_ZONE_HEAD // So we don't gib when regenerating limbs.
excluded_limbs |= BODY_ZONE_HEAD // So we don't gib when regenerating limbs.
/obj/item/dullahan_relay/process()
if(!istype(loc, /obj/item/bodypart/head) || QDELETED(owner))

View File

@@ -334,10 +334,10 @@
//Regenerates all limbs. Returns amount of limbs regenerated
/mob/living/proc/regenerate_limbs(noheal, excluded_limbs)
/mob/living/proc/regenerate_limbs(noheal = FALSE, list/excluded_limbs = list())
SEND_SIGNAL(src, COMSIG_LIVING_REGENERATE_LIMBS, noheal, excluded_limbs)
/mob/living/carbon/regenerate_limbs(noheal, list/excluded_limbs)
/mob/living/carbon/regenerate_limbs(noheal = FALSE, list/excluded_limbs = list())
. = ..()
var/list/limb_list = list(BODY_ZONE_HEAD, BODY_ZONE_CHEST, BODY_ZONE_R_ARM, BODY_ZONE_L_ARM, BODY_ZONE_R_LEG, BODY_ZONE_L_LEG)
if(excluded_limbs)