From 7e314656b62ee5516c2d8bd304cfb90583fa359e Mon Sep 17 00:00:00 2001 From: Sharkmare <34294231+Sharkmare@users.noreply.github.com> Date: Tue, 9 Mar 2021 23:21:32 +0100 Subject: [PATCH] Shadekin Trait apply bugfix Apparently, I somehow missed this --- .../mob/living/carbon/human/species/shadekin/shadekin_trait.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/modules/mob/living/carbon/human/species/shadekin/shadekin_trait.dm b/code/modules/mob/living/carbon/human/species/shadekin/shadekin_trait.dm index 66138a59ddb..73c182dfadd 100644 --- a/code/modules/mob/living/carbon/human/species/shadekin/shadekin_trait.dm +++ b/code/modules/mob/living/carbon/human/species/shadekin/shadekin_trait.dm @@ -58,6 +58,7 @@ /datum/trait/kintype/apply(var/datum/species/shadekin/S,var/mob/living/carbon/human/H) if(color && istype(S)) //Sanity check to see if they're actually a shadekin, otherwise just don't do anything. They shouldn't be able to spawn with the trait. S.kin_type = color + ..(S,H) switch(color) if(BLUE_EYES) H.shapeshifter_set_eye_color("0000FF") @@ -87,4 +88,4 @@ var/obj/item/organ/internal/brain/shadekin/shade_organ = user.internal_organs_by_name[O_BRAIN] if(!istype(shade_organ)) return - shade_organ.dark_energy = CLAMP(shade_organ.dark_energy + attack_damage,0,shade_organ.max_dark_energy) //Convert Damage done to Energy Gained \ No newline at end of file + shade_organ.dark_energy = CLAMP(shade_organ.dark_energy + attack_damage,0,shade_organ.max_dark_energy) //Convert Damage done to Energy Gained