From bd183e8e282b6cc375e47ff04d8bc4a06276a7c2 Mon Sep 17 00:00:00 2001 From: DeltaFire Date: Sun, 13 Sep 2020 13:27:57 +0200 Subject: [PATCH] removes an unneeded check --- code/game/objects/items/plushes.dm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/code/game/objects/items/plushes.dm b/code/game/objects/items/plushes.dm index 02667f7af2..9a8f1214f0 100644 --- a/code/game/objects/items/plushes.dm +++ b/code/game/objects/items/plushes.dm @@ -781,11 +781,9 @@ GLOBAL_LIST_INIT(valid_plushie_paths, valid_plushie_paths()) return to_chat(user, "You try to pet the plushie, but recoil as it bites your hand instead! OW!") SEND_SIGNAL(user, COMSIG_ADD_MOOD_EVENT,"plush_bite", /datum/mood_event/plush_bite) - if(!ishuman(user)) - return var/mob/living/carbon/human/H = user if(!H) - return //Too much type safety? There is no such thing as too much type safety. + return //Type safety. H.apply_damage(5, BRUTE, pick(BODY_ZONE_L_ARM, BODY_ZONE_R_ARM)) addtimer(CALLBACK(H, /mob/living/carbon/human.proc/dropItemToGround, src, TRUE), 1)