Only detective renames the gun

This commit is contained in:
SoundScopes
2015-04-20 16:01:49 +01:00
parent dda6fe985e
commit acd435f3ea
@@ -26,7 +26,7 @@
var/mob/M = usr
if(!M.mind) return 0
if(!M.mind.assigned_role == "Detective")
if(M.mind.assigned_role != "Detective")
M << "<span class='notice'>You don't feel cool enough to name this gun, chump.</span>"
return 0
if(istype(src, /obj/item/weapon/gun/projectile/detective/semiauto/fluff/leo_gun))