Updates to check to ensure they are clowns, not imposters

This commit is contained in:
Sam
2017-05-02 07:44:23 +01:00
committed by GitHub
parent 4a86f2f34a
commit a28a7a4da5
+4 -1
View File
@@ -72,7 +72,10 @@
/obj/item/clothing/under/rank/clown/hit_reaction()
playsound(loc, 'sound/items/bikehorn.ogg', 50, 1, -1)
score_clownabuse++
if(ishuman(loc))
var/mob/living/carbon/human/H = loc
if(H.mind && H.mind.assigned_role == "Clown")
score_clownabuse++
return 0
/obj/item/clothing/under/rank/head_of_personnel