Fixes access checks ignoring the ID in your hand if already wearing an ID.

This commit is contained in:
Neerti
2015-11-19 08:00:07 -05:00
parent 1ee17610b5
commit 70ade2ed59
+3 -3
View File
@@ -197,13 +197,13 @@
return botcard
/mob/living/carbon/human/GetIdCard()
if(get_active_hand())
var/obj/item/I = get_active_hand()
return I.GetID()
if(wear_id)
var/id = wear_id.GetID()
if(id)
return id
if(get_active_hand())
var/obj/item/I = get_active_hand()
return I.GetID()
/mob/living/silicon/GetIdCard()
return idcard