Detective's armor once again allows him to fire his revolver. Fixes issue 797.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4438 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
johnsonmt88@gmail.com
2012-08-16 15:54:17 +00:00
parent b8548bb3d4
commit 0b59c8dbd1

View File

@@ -9,7 +9,8 @@
special_check(var/mob/living/carbon/human/M)
if(ishuman(M))
if(istype(M.w_uniform, /obj/item/clothing/under/det) && istype(M.head, /obj/item/clothing/head/det_hat) && istype(M.wear_suit, /obj/item/clothing/suit/det_suit))
if(istype(M.w_uniform, /obj/item/clothing/under/det) && istype(M.head, /obj/item/clothing/head/det_hat) && \
(istype(M.wear_suit, /obj/item/clothing/suit/det_suit) || istype(M.wear_suit, /obj/item/clothing/suit/armor/det_suit)))
return 1
M << "\red You just don't feel cool enough to use this gun looking like that."
return 0