Skip to content

Commit

Permalink
tiny improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
Gboster-0 committed Oct 15, 2024
1 parent 4665a64 commit 3f3a509
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3f3a509

Please sign in to comment.