From d5ceb38a9d92428e2aace3073a0dd7c6abd8a879 Mon Sep 17 00:00:00 2001 From: ZomgPonies Date: Sun, 5 Jan 2014 00:31:20 -0500 Subject: [PATCH] Fixed slimepeople ventcrawling --- code/modules/mob/abilities.dm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/abilities.dm b/code/modules/mob/abilities.dm index 2325e0c0d1e..cd92b501e44 100644 --- a/code/modules/mob/abilities.dm +++ b/code/modules/mob/abilities.dm @@ -12,8 +12,8 @@ Creature-level abilities. set desc = "The ability to crawl through vents if naked and not holding anything." - if(istype(src,/mob/living/carbon/human/slime)) - var/mob/living/carbon/M = src + if(istype(usr,/mob/living/carbon/human/slime)) + var/mob/living/carbon/human/slime/M = usr // Check if the client has a mob and if the mob is valid and alive. if(M.stat==2) M << "\red You must be corporeal and alive to do that." @@ -33,3 +33,5 @@ Creature-level abilities. return 0 M.handle_ventcrawl() + else + src << "This should not be happening. At all." \ No newline at end of file