From 710fbaf20e5ee7553d24d659aa2fce982a5ba013 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Thu, 15 Oct 2020 23:11:37 +0200 Subject: [PATCH] [MIRROR] fixes ageusia not working (#1334) * fixes ageusia not working (#54369) * fixes ageusia not working Co-authored-by: Tlaltecuhtli <33834933+Tlaltecuhtli@users.noreply.github.com> --- code/datums/components/food/edible.dm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/code/datums/components/food/edible.dm b/code/datums/components/food/edible.dm index 783ac607ac5..be2352a17f5 100644 --- a/code/datums/components/food/edible.dm +++ b/code/datums/components/food/edible.dm @@ -369,9 +369,10 @@ Behavior that's still missing from this component that original food items had t if(!ishuman(M)) return FALSE var/mob/living/carbon/human/H = M - if(HAS_TRAIT(H, TRAIT_AGEUSIA) && foodtypes & H.dna.species.toxic_food) - to_chat(H, "You don't feel so good...") - H.adjust_disgust(25 + 30 * fraction) + if(HAS_TRAIT(H, TRAIT_AGEUSIA)) + if(foodtypes & H.dna.species.toxic_food) + to_chat(H, "You don't feel so good...") + H.adjust_disgust(25 + 30 * fraction) else if(foodtypes & H.dna.species.toxic_food) to_chat(H,"What the hell was that thing?!")