mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 08:08:49 +01:00
[MIRROR] Stops drones from using keycard authenticators [MDB IGNORE] (#9983)
* Stops drones from using keycard authenticators (#63135) See title. Drones were able to use these due to their internal id card having captain access * Stops drones from using keycard authenticators Co-authored-by: RandomGamer123 <31096837+RandomGamer123@users.noreply.github.com>
This commit is contained in:
co-authored by
RandomGamer123
parent
16e84ab277
commit
93fc15e906
@@ -52,11 +52,14 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/keycard_auth, 26)
|
||||
return data
|
||||
|
||||
/obj/machinery/keycard_auth/ui_status(mob/user)
|
||||
if(isanimal(user))
|
||||
var/mob/living/simple_animal/A = user
|
||||
if(!A.dextrous)
|
||||
to_chat(user, span_warning("You are too primitive to use this device!"))
|
||||
return UI_CLOSE
|
||||
if(isdrone(user))
|
||||
return UI_CLOSE
|
||||
if(!isanimal(user))
|
||||
return ..()
|
||||
var/mob/living/simple_animal/A = user
|
||||
if(!A.dextrous)
|
||||
to_chat(user, span_warning("You are too primitive to use this device!"))
|
||||
return UI_CLOSE
|
||||
return ..()
|
||||
|
||||
/obj/machinery/keycard_auth/ui_act(action, params)
|
||||
|
||||
Reference in New Issue
Block a user