Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keycard authentication device now reqires two users to activate events #6903

Merged
merged 8 commits into from
Aug 16, 2024
Merged
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions code/modules/security_levels/keycard_authentication.dm
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@
if(active == 1)
//This is not the device that made the initial request. It is the device confirming the request.
if(event_source)
if(event_source.event_triggered_by == usr)
to_chat(usr, "Your ID is rejected, as it is the one that triggered the event!")
cuberound marked this conversation as resolved.
Show resolved Hide resolved
cuberound marked this conversation as resolved.
Show resolved Hide resolved
return
event_source.confirmed = 1
event_source.event_confirmed_by = usr
else if(screen == 2)
Expand Down
Loading