From cd6eaf382f9aa77a3ee79b5afdd20bbcba4e30cb Mon Sep 17 00:00:00 2001 From: Pinta <124479862+deertools@users.noreply.github.com> Date: Thu, 23 Feb 2023 00:17:02 -0500 Subject: [PATCH] Update cakegolem.dm --- GainStation13/code/mobs/cakegolem.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GainStation13/code/mobs/cakegolem.dm b/GainStation13/code/mobs/cakegolem.dm index 8d91e787..1daaa26f 100644 --- a/GainStation13/code/mobs/cakegolem.dm +++ b/GainStation13/code/mobs/cakegolem.dm @@ -43,8 +43,8 @@ /mob/living/simple_animal/friendly/cakegolem/attack_hand(mob/living/L) . = ..() - if(.) //the attack was blocked + if(!.) //the attack was blocked return if(L.a_intent == INTENT_HARM && L.reagents && !stat) L.reagents.add_reagent(/datum/reagent/consumable/nutriment, 0.4) - L.reagents.add_reagent(/datum/reagent/consumable/nutriment/vitamin, 0.4) \ No newline at end of file + L.reagents.add_reagent(/datum/reagent/consumable/nutriment/vitamin, 0.4)