From 8d2870538af1f493c741ddc222c218df66ff7fd4 Mon Sep 17 00:00:00 2001 From: Pinta <124479862+deertools@users.noreply.github.com> Date: Sat, 11 Feb 2023 02:06:18 -0500 Subject: [PATCH] Update fatoray.dm --- GainStation13/code/obj/weapons/fatoray.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GainStation13/code/obj/weapons/fatoray.dm b/GainStation13/code/obj/weapons/fatoray.dm index c40ff086..089b046e 100644 --- a/GainStation13/code/obj/weapons/fatoray.dm +++ b/GainStation13/code/obj/weapons/fatoray.dm @@ -13,7 +13,7 @@ ///The base projectile used by the fatoray /obj/item/projectile/energy/fattening - name = "concentrated fat" + name = "fat energy" icon = 'GainStation13/icons/obj/fatoray.dmi' icon_state = "ray" ///How much fat is added to the target mob? @@ -23,7 +23,7 @@ . = ..() var/mob/living/carbon/gainer = target - if(!gainer) + if(!iscarbon(gainer)) return FALSE if(!gainer.adjust_fatness(fat_added, FATTENING_TYPE_WEAPON))