Fixed slimepeople ventcrawling

This commit is contained in:
ZomgPonies
2014-01-05 00:31:20 -05:00
parent 5467c4fdc5
commit d5ceb38a9d
+4 -2
View File
@@ -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."