diff --git a/code/game/machinery/ARES/ARES.dm b/code/game/machinery/ARES/ARES.dm index fd85aff215db..de4140ef1b81 100644 --- a/code/game/machinery/ARES/ARES.dm +++ b/code/game/machinery/ARES/ARES.dm @@ -137,7 +137,7 @@ /// The current deleted chat log of 1:1 conversations being read. var/list/deleted_1to1 = list() - /// Holds all (/datum/ares_record/announcement)s and (/datum/ares_record/security/security_alert)s + /// Holds all (/datum/ares_record/announcement)s var/list/records_announcement = list() /// Holds all (/datum/ares_record/bioscan)s var/list/records_bioscan = list() diff --git a/code/game/machinery/ARES/ARES_procs.dm b/code/game/machinery/ARES/ARES_procs.dm index 6c5bd1dec08a..c78a0131b7f1 100644 --- a/code/game/machinery/ARES/ARES_procs.dm +++ b/code/game/machinery/ARES/ARES_procs.dm @@ -223,7 +223,7 @@ GLOBAL_LIST_INIT(maintenance_categories, list( data["records_announcement"] = logged_announcements var/list/logged_alerts = list() - for(var/datum/ares_record/security/security_alert as anything in records_announcement) + for(var/datum/ares_record/security/security_alert as anything in records_security) if(!istype(security_alert)) continue var/list/current_alert = list() @@ -457,6 +457,10 @@ GLOBAL_LIST_INIT(maintenance_categories, list( new_title = "[record.title] at [record.time]" new_details = record.details records_announcement -= record + if(ARES_RECORD_SECURITY) + new_title = "[record.title] at [record.time]" + new_details = record.details + records_security -= record if(ARES_RECORD_BIOSCAN) new_title = "[record.title] at [record.time]" new_details = record.details diff --git a/tgui/packages/tgui/interfaces/AresInterface.js b/tgui/packages/tgui/interfaces/AresInterface.js index fc7901795046..3023cf1a5297 100644 --- a/tgui/packages/tgui/interfaces/AresInterface.js +++ b/tgui/packages/tgui/interfaces/AresInterface.js @@ -1268,8 +1268,14 @@ const AntiAir = (props, context) => { const Security = (props, context) => { const { data, act } = useBackend(context); - const { logged_in, access_text, last_page, current_menu, records_security } = - data; + const { + logged_in, + access_text, + last_page, + current_menu, + records_security, + access_level, + } = data; return ( <>