Fix ipcs being blinded by pepper spray (#2561)

Fixes #2559
Fixes #1154
This commit is contained in:
Alberyk
2017-06-02 01:17:57 +03:00
committed by skull132
parent f59d810fc4
commit 8d1fe5b829
3 changed files with 4 additions and 2 deletions
@@ -493,6 +493,8 @@
var/list/protection
if(istype(M, /mob/living/carbon/human))
if(M.isSynthetic())
return
var/mob/living/carbon/human/H = M
protection = list(H.head, H.glasses, H.wear_mask)
if(H.species && (H.species.flags & NO_PAIN))