Skip to content

Commit

Permalink
TGS Test Merge (#6355)
Browse files Browse the repository at this point in the history
  • Loading branch information
cm13-github committed Jun 4, 2024
2 parents 2640933 + bd4cb15 commit cfdddae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/modules/cm_marines/marines_consoles.dm
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@
visible_message("[SPAN_BOLD("[src]")] states, \"AUTH ERROR: Authority confirmation card is missing!\"")
return FALSE

if(!istype(id_card) || !id_card.check_biometrics(user))
visible_message("[SPAN_BOLD("[src]")] states, \"AUTH ERROR: Biometrics failure! You require an authenticated ID card to perform this action!\"")
return FALSE

if(check_access(id_card))
authenticated = TRUE
visible_message("[SPAN_BOLD("[src]")] states, \"AUTH LOGIN: Welcome, [id_card.registered_name]. Access granted.\"")
Expand Down

0 comments on commit cfdddae

Please sign in to comment.