mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-21 04:48:18 +01:00
The GetIdCard() proc now priorities held id cards.
Fixes #11824 to the maximum degree I'm prepared to go.
This commit is contained in:
@@ -197,13 +197,13 @@
|
||||
return botcard
|
||||
|
||||
/mob/living/carbon/human/GetIdCard()
|
||||
if(wear_id)
|
||||
var/id = wear_id.GetID()
|
||||
var/obj/item/I = get_active_hand()
|
||||
if(I)
|
||||
var/id = I.GetID()
|
||||
if(id)
|
||||
return id
|
||||
if(get_active_hand())
|
||||
var/obj/item/I = get_active_hand()
|
||||
return I.GetID()
|
||||
if(wear_id)
|
||||
return wear_id.GetID()
|
||||
|
||||
/mob/living/silicon/GetIdCard()
|
||||
return idcard
|
||||
|
||||
Reference in New Issue
Block a user