From daa017c7d107fb54db3c06fac4091eadc396053e Mon Sep 17 00:00:00 2001 From: Meghan-Rossi <56671765+Meghan-Rossi@users.noreply.github.com> Date: Thu, 17 Sep 2020 05:22:19 +0100 Subject: [PATCH] Makes morph impersonation respect body impersonation preference --- .../mob/living/simple_mob/subtypes/vore/morph/morph.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/modules/mob/living/simple_mob/subtypes/vore/morph/morph.dm b/code/modules/mob/living/simple_mob/subtypes/vore/morph/morph.dm index f5004db3c18..7b2da460081 100644 --- a/code/modules/mob/living/simple_mob/subtypes/vore/morph/morph.dm +++ b/code/modules/mob/living/simple_mob/subtypes/vore/morph/morph.dm @@ -89,6 +89,10 @@ ..() /mob/living/simple_mob/vore/hostile/morph/proc/assume(atom/movable/target) + var/mob/living/carbon/human/humantarget = target + if(istype(humantarget) && humantarget.resleeve_lock && ckey != humantarget.resleeve_lock) + to_chat(src, "[target] cannot be impersonated!") + return if(morphed) to_chat(src, "You must restore to your original form first!") return