Fixes issue 420

Fixes issue 417

- Ghosts no longer block AI spawning
- Grilles no longer shock you if you're in an exosuit

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3279 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
quartz235@gmail.com
2012-03-12 23:49:13 +00:00
parent 859d5ff0a3
commit 3300dc7398
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -437,6 +437,8 @@
//source is an object caused electrocuting (airlock, grille, etc)
//No animations will be performed by this proc.
/proc/electrocute_mob(mob/living/carbon/M as mob, var/power_source, var/obj/source, var/siemens_coeff = 1.0)
if(istype(M.loc,/obj/mecha))
return 0
if(istype(M,/mob/living/carbon/human))
var/mob/living/carbon/human/H = M
if(H.gloves)