Skip to content

Commit

Permalink
Revert "Keycard authentication device now reqires two users to activa…
Browse files Browse the repository at this point in the history
…te event…"

This reverts commit 88d3a63.
  • Loading branch information
Mister-moon1 authored Aug 21, 2024
1 parent a7c3482 commit 35d855d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions code/modules/security_levels/keycard_authentication.dm
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,8 @@
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 == user)
user.visible_message(SPAN_DANGER("Your ID is rejected, as it is the one that triggered the event!"))
return
event_source.confirmed = 1
event_source.event_confirmed_by = user
event_source.event_confirmed_by = usr
else if(screen == 2)
event_triggered_by = usr
broadcast_request() //This is the device making the initial event request. It needs to broadcast to other devices
Expand Down

0 comments on commit 35d855d

Please sign in to comment.