Skip to content

Commit

Permalink
ehm
Browse files Browse the repository at this point in the history
  • Loading branch information
uuuuhuuuu committed Aug 16, 2024
1 parent 2cb6b76 commit ea363c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/modules/security_levels/keycard_authentication.dm
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@
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!")
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 = usr
event_source.event_confirmed_by = user
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 ea363c3

Please sign in to comment.