Hotfix for Syndicate ID's not being able to be assigned names / occupations.

This commit is contained in:
Ccomp5950
2013-11-28 18:43:46 -06:00
parent 0935d7d7a6
commit 1f76f4cfd0
+3 -2
View File
@@ -199,7 +199,9 @@
name = "agent card"
access = list(access_maint_tunnels, access_syndicate, access_external_airlocks)
origin_tech = "syndicate=3"
registered_name=null
var/registered_user=null
/obj/item/weapon/card/id/syndicate/afterattack(var/obj/item/weapon/O as obj, mob/user as mob, proximity)
if(!proximity) return
if(istype(O, /obj/item/weapon/card/id))
@@ -209,7 +211,6 @@
if(user.mind.special_role)
usr << "\blue The card's microscanners activate as you pass it over the ID, copying its access."
/obj/item/weapon/card/id/syndicate/var/mob/registered_user = null
/obj/item/weapon/card/id/syndicate/attack_self(mob/user as mob)
if(!src.registered_name)
//Stop giving the players unsanitized unputs! You are giving ways for players to intentionally crash clients! -Nodrak