diff --git a/code/modules/mob/living/simple_mob/subtypes/vore/dominated_brain.dm b/code/modules/mob/living/simple_mob/subtypes/vore/dominated_brain.dm index f01821dba2..427a540683 100644 --- a/code/modules/mob/living/simple_mob/subtypes/vore/dominated_brain.dm +++ b/code/modules/mob/living/simple_mob/subtypes/vore/dominated_brain.dm @@ -272,8 +272,9 @@ to_chat(prey, "\The [pred] is already dominated, and cannot be controlled at this time.") return if(ishuman(pred)) - if(pred.resleeve_lock && ckey != pred.resleeve_lock) - to_chat(src, "\The [pred] cannot be impersonated!") + var/mob/living/carbon/human/h + if(h.resleeve_lock && ckey != h.resleeve_lock) + to_chat(src, "\The [h] cannot be impersonated!") return if(tgui_alert(prey, "You are attempting to take over [pred], are you sure? Ensure that their preferences align with this kind of play.", "Take Over Predator",list("No","Yes")) != "Yes") return