mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-06 15:02:29 +00:00
Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
This commit is contained in:
@@ -144,6 +144,9 @@
|
||||
if(!computer || !card_slot || !id_card)
|
||||
to_chat(current_user, span_notice("No ID found, authorization failed."))
|
||||
return
|
||||
if(isdrone(current_user))
|
||||
to_chat(current_user, span_notice("You can't free yourself."))
|
||||
return
|
||||
if(!(ACCESS_CE in id_card.access))
|
||||
to_chat(current_user, span_notice("Required access not found on ID."))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user