Skip to content

Commit

Permalink
Update code/modules/cm_marines/marines_consoles.dm
Browse files Browse the repository at this point in the history
Co-authored-by: Vero <[email protected]>
  • Loading branch information
realforest2001 and vero5123 authored Jun 1, 2024
1 parent d62624e commit 40be7ec
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions code/modules/cm_marines/marines_consoles.dm
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,8 @@
visible_message("[SPAN_BOLD("[src]")] states, \"AUTH ERROR: Authority confirmation card is missing!\"")
return FALSE

var/bio_fail = FALSE
if(!istype(id_card))
bio_fail = TRUE
else if(!id_card.check_biometrics(user))
bio_fail = TRUE
if(bio_fail)
to_chat(user, SPAN_WARNING("Biometrics failure! You require an authenticated ID card to perform this action!"))
if(!istype(id_card) || !id_card.check_biometrics(user))

Check failure on line 31 in code/modules/cm_marines/marines_consoles.dm

View workflow job for this annotation

GitHub Actions / Run Linters

got '{', expected one of: '}', ';', if, while, do, for, spawn, switch, try, set, break, continue, del, var, return, CRASH, throw, goto, operator, term
visible_message("[SPAN_BOLD("[src]")] states, \"AUTH ERROR: Biometrics failure! You require an authenticated ID card to perform this action!\"")

Check failure on line 32 in code/modules/cm_marines/marines_consoles.dm

View workflow job for this annotation

GitHub Actions / Run Linters

inconsistent multiple indentation: 4 > 1
return FALSE

if(check_access(id_card))
Expand Down

0 comments on commit 40be7ec

Please sign in to comment.