From 55e0d4632839d1b94120a73817c8c5364b48dffb Mon Sep 17 00:00:00 2001 From: RKz Date: Thu, 21 Dec 2023 12:48:10 -0500 Subject: [PATCH] fixes --- code/_onclick/other_mobs.dm | 1 - code/datums/brain_damage/severe.dm | 2 +- code/modules/surgery/bodyparts/bodyparts.dm | 8 +++++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/code/_onclick/other_mobs.dm b/code/_onclick/other_mobs.dm index 68519a0d79ec6..2b8c69c73b531 100644 --- a/code/_onclick/other_mobs.dm +++ b/code/_onclick/other_mobs.dm @@ -5,7 +5,6 @@ Otherwise pretty standard. */ /mob/living/carbon/human/UnarmedAttack(atom/A, proximity) - if(!has_active_hand()) //can't attack without a hand. var/obj/item/bodypart/check_arm = get_active_hand() if(check_arm?.bodypart_disabled) diff --git a/code/datums/brain_damage/severe.dm b/code/datums/brain_damage/severe.dm index e57177fff103b..e91a588b846ff 100644 --- a/code/datums/brain_damage/severe.dm +++ b/code/datums/brain_damage/severe.dm @@ -60,7 +60,7 @@ lose_text = "" var/paralysis_type var/list/paralysis_traits = list() - //for descriptions + //for descriptions /datum/brain_trauma/severe/paralysis/New(specific_type) if(specific_type) diff --git a/code/modules/surgery/bodyparts/bodyparts.dm b/code/modules/surgery/bodyparts/bodyparts.dm index 09898ec2811e5..90c219f32d9fa 100644 --- a/code/modules/surgery/bodyparts/bodyparts.dm +++ b/code/modules/surgery/bodyparts/bodyparts.dm @@ -67,8 +67,10 @@ var/mutation_color = "" var/no_update = 0 - var/animal_origin = null //for nonhuman bodypart (e.g. monkey) - var/dismemberable = 1 //whether it can be dismembered with a weapon. + //for nonhuman bodypart (e.g. monkey) + var/animal_origin = null + ///whether it can be dismembered with a weapon. + var/dismemberable = 1 var/px_x = 0 var/px_y = 0 @@ -338,7 +340,7 @@ INVOKE_ASYNC(owner, TYPE_PROC_REF(/mob, emote), "scream") last_maxed = TRUE */ - set_disabled(TRUE) + set_disabled(FALSE) return /* WOUNDS