mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-09 23:27:56 +01:00
Rewrite SSUs, tweak newly added UIs
This commit is contained in:
@@ -58,13 +58,16 @@ var/datum/events/keycard_events = new()
|
||||
if("red_alert")
|
||||
if(!event_source)
|
||||
sendEvent("Red Alert")
|
||||
. = TRUE
|
||||
if("emergency_maint")
|
||||
if(!event_source)
|
||||
sendEvent("Emergency Maintenance Access")
|
||||
. = TRUE
|
||||
if("auth_swipe")
|
||||
if(event_source)
|
||||
event_source.trigger_event(usr)
|
||||
event_source = null
|
||||
. = TRUE
|
||||
|
||||
/obj/machinery/keycard_auth/proc/sendEvent(event_type)
|
||||
triggerer = usr
|
||||
|
||||
Reference in New Issue
Block a user