mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-13 08:03:43 +01:00
Updates to check to ensure they are clowns, not imposters
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user