From d3d05c53a5295763f355aeaf39d2298c3a482cda Mon Sep 17 00:00:00 2001 From: Xhuis Date: Sun, 23 Jul 2017 14:54:34 -0400 Subject: [PATCH] you CHECK those zones --- code/modules/mob/living/carbon/carbon_defense.dm | 2 +- code/modules/mob/living/carbon/human/human_defense.dm | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/code/modules/mob/living/carbon/carbon_defense.dm b/code/modules/mob/living/carbon/carbon_defense.dm index ae83337cde2..ecbecfeed5c 100644 --- a/code/modules/mob/living/carbon/carbon_defense.dm +++ b/code/modules/mob/living/carbon/carbon_defense.dm @@ -70,7 +70,7 @@ /mob/living/carbon/attacked_by(obj/item/I, mob/living/user) var/obj/item/bodypart/affecting if(user == src) - affecting = get_bodypart(user.zone_selected) //we're self-mutilating! yay! + affecting = get_bodypart(check_zone(user.zone_selected)) //we're self-mutilating! yay! else affecting = get_bodypart(ran_zone(user.zone_selected)) if(!affecting) //missing limb? we select the first bodypart (you can never have zero, because of chest) diff --git a/code/modules/mob/living/carbon/human/human_defense.dm b/code/modules/mob/living/carbon/human/human_defense.dm index a632ffd8745..07ffd35979f 100644 --- a/code/modules/mob/living/carbon/human/human_defense.dm +++ b/code/modules/mob/living/carbon/human/human_defense.dm @@ -158,8 +158,7 @@ var/obj/item/bodypart/affecting if(user == src) - to_chat(user, "stab!") - affecting = get_bodypart(user.zone_selected) //stabbing yourself always hits the right target + affecting = get_bodypart(check_zone(user.zone_selected)) //stabbing yourself always hits the right target else affecting = get_bodypart(ran_zone(user.zone_selected)) var/target_area = parse_zone(check_zone(user.zone_selected)) //our intended target