From 1389f0eb9b5e0c6a2d0a158f8992d0a73d390f67 Mon Sep 17 00:00:00 2001 From: Krausus Date: Wed, 10 Jun 2015 11:02:54 -0400 Subject: [PATCH] A couple istype->ishuman replacements --- code/datums/mind.dm | 2 +- code/modules/projectiles/projectile/magic.dm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/datums/mind.dm b/code/datums/mind.dm index b739112e5f0..1585302f64b 100644 --- a/code/datums/mind.dm +++ b/code/datums/mind.dm @@ -1069,7 +1069,7 @@ datum/mind else if (href_list["common"]) switch(href_list["common"]) if("undress") - if(istype(current, /mob/living/carbon/human)) + if(ishuman(current)) var/mob/living/carbon/human/H = current // Don't "undress" organs right out of the body for(var/obj/item/W in H.contents - (H.organs | H.internal_organs)) diff --git a/code/modules/projectiles/projectile/magic.dm b/code/modules/projectiles/projectile/magic.dm index 2a742489a31..3f2e4d0f245 100644 --- a/code/modules/projectiles/projectile/magic.dm +++ b/code/modules/projectiles/projectile/magic.dm @@ -162,7 +162,7 @@ proc/wabbajack(mob/living/M) new_mob.job = "Cyborg" var/mob/living/silicon/robot/Robot = new_mob Robot.mmi = new /obj/item/device/mmi(new_mob) - if(istype(M, /mob/living/carbon/human)) + if(ishuman(M)) Robot.mmi.transfer_identity(M) //Does not transfer key/client. if("slime") new_mob = new /mob/living/carbon/slime(M.loc)