mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 00:29:02 +01:00
Fix build issues related to upstream pull
This commit is contained in:
@@ -4,22 +4,22 @@
|
||||
/obj/item/modular_computer/get_security_level_relevancy()
|
||||
switch(SSsecurity_level.get_current_level_as_number())
|
||||
if(SEC_LEVEL_VIOLET)
|
||||
if(ACCESS_MEDICAL in computer_id_slot?.access)
|
||||
if(ACCESS_MEDICAL in stored_id?.access)
|
||||
return ALERT_RELEVANCY_PERTINENT
|
||||
else
|
||||
return ALERT_RELEVANCY_WARN
|
||||
if(SEC_LEVEL_ORANGE)
|
||||
if(ACCESS_ENGINEERING in computer_id_slot?.access)
|
||||
if(ACCESS_ENGINEERING in stored_id?.access)
|
||||
return ALERT_RELEVANCY_PERTINENT
|
||||
else
|
||||
return ALERT_RELEVANCY_SAFE
|
||||
if(SEC_LEVEL_AMBER)
|
||||
if(ACCESS_SECURITY in computer_id_slot?.access)
|
||||
if(ACCESS_SECURITY in stored_id?.access)
|
||||
return ALERT_RELEVANCY_PERTINENT
|
||||
else
|
||||
return ALERT_RELEVANCY_WARN
|
||||
if(SEC_LEVEL_BLUE) // do this even though the base function already covers blue -- this is cause we operate differently from blue (blue = sec prep on bubber, = sec active on tg)
|
||||
if(ACCESS_SECURITY in computer_id_slot?.access)
|
||||
if(ACCESS_SECURITY in stored_id?.access)
|
||||
return ALERT_RELEVANCY_PERTINENT
|
||||
else
|
||||
return ALERT_RELEVANCY_SAFE
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
/datum/computer_file/program/silicon_management/ui_act(action, list/params, datum/tgui/ui, datum/ui_state/state)
|
||||
. = ..()
|
||||
var/obj/item/card/id/user_id = computer.computer_id_slot
|
||||
var/obj/item/card/id/user_id = computer.stored_id
|
||||
if(!user_id || !(ACCESS_ROBOTICS in user_id.access))
|
||||
return TRUE
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
var/list/data = list()
|
||||
|
||||
var/authed = FALSE
|
||||
var/obj/item/card/id/user_id = computer.computer_id_slot
|
||||
var/obj/item/card/id/user_id = computer.stored_id
|
||||
if(user_id && (ACCESS_ROBOTICS in user_id.access))
|
||||
authed = TRUE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user