From 3f3a5090441308786e054bbfc33f42be39d2b7f8 Mon Sep 17 00:00:00 2001 From: Gboster-0 <82319946+Gboster-0@users.noreply.github.com> Date: Tue, 15 Oct 2024 05:25:40 +0200 Subject: [PATCH] tiny improvement --- .../mob/living/simple_animal/hostile/ordeal/gold/noon.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/simple_animal/hostile/ordeal/gold/noon.dm b/code/modules/mob/living/simple_animal/hostile/ordeal/gold/noon.dm index 1b83217fe1aa..8b8bdd7e4c5f 100644 --- a/code/modules/mob/living/simple_animal/hostile/ordeal/gold/noon.dm +++ b/code/modules/mob/living/simple_animal/hostile/ordeal/gold/noon.dm @@ -298,7 +298,7 @@ return FALSE . = ..() if(.) - if(!istype(target, /mob/living/carbon/human)) + if(!ishuman(target)) return var/mob/living/carbon/human/TH = target if(TH.health < 0 || TH.sanity_lost)