From 59bbe81465234f29ba481ef896a7b42e782c9734 Mon Sep 17 00:00:00 2001 From: "baloh.matevz" Date: Sun, 12 Feb 2012 01:26:01 +0000 Subject: [PATCH] - ghosts and dead people can no longer undress Ian git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3109 316c924e-a436-60f5-8080-3fe189b3f50e --- code/modules/mob/simple_animal/corgi.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/mob/simple_animal/corgi.dm b/code/modules/mob/simple_animal/corgi.dm index 469fe26532b..25b499cc7f4 100644 --- a/code/modules/mob/simple_animal/corgi.dm +++ b/code/modules/mob/simple_animal/corgi.dm @@ -49,6 +49,7 @@ /mob/living/simple_animal/corgi/show_inv(mob/user as mob) user.machine = src + if(user.stat) return var/dat = "
Inventory of [name]

" if(inventory_head) @@ -82,6 +83,8 @@ ..() /mob/living/simple_animal/corgi/Topic(href, href_list) + if(usr.stat) return + //Removing from inventory if(href_list["remove_inv"]) if(get_dist(src,usr) > 1 || !(ishuman(usr) || ismonkey(usr) || isrobot(usr) || isalienadult(usr)))