[MIRROR] some istype to macros (#9802)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-01-05 15:01:49 -07:00
committed by GitHub
parent 73486c399b
commit ed79946ade
409 changed files with 750 additions and 751 deletions

View File

@@ -574,7 +574,7 @@
if(ismob(A))
var/mob/M = A
if(istype(A, /mob/living))
if(isliving(A))
//if they have a neck grab on someone, that person gets hit instead
var/obj/item/grab/G = locate() in M
if(G && G.state >= GRAB_NECK)
@@ -710,7 +710,7 @@
return FALSE
var/impacted_organ = parse_zone(def_zone)
if(istype(target_mob, /mob/living/simple_mob))
if(isanimal(target_mob))
var/mob/living/simple_mob/SM = target_mob
var/decl/mob_organ_names/organ_plan = SM.organ_names
impacted_organ = pick(organ_plan.hit_zones)