mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 16:47:13 +01:00
Handheld IDs are valid for authentication (#40456)
cl XDTM tweak: Holding an ID in your hands uses it instead of your worn ID for authentication purposes. tweak: If you don't have an ID in your id slot, the belt slot will be checked as well. /cl Fixes #40437 Makes sense if you want to use a specific access card without playing pocket tetris. The get_idcard has an argument for prioritizing worn id over held id, for stuff like identification.
This commit is contained in:
@@ -117,7 +117,7 @@
|
||||
else
|
||||
if(ishuman(user))
|
||||
var/mob/living/carbon/human/h = user
|
||||
user_id_card = h.get_idcard()
|
||||
user_id_card = h.get_idcard(TRUE)
|
||||
|
||||
switch(action)
|
||||
if("PRG_switchm")
|
||||
|
||||
Reference in New Issue
Block a user