From 0a5e2c811d6569fd0e10213762f1dfeb4a7675e2 Mon Sep 17 00:00:00 2001 From: VerySoft Date: Sun, 6 Mar 2022 15:55:45 -0500 Subject: [PATCH] oops --- .../mob/living/simple_mob/subtypes/vore/dominated_brain.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 f01821dba23..427a5406832 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