diff --git a/code/game/machinery/ARES/ARES_interface.dm b/code/game/machinery/ARES/ARES_interface.dm index 58340b81a74d..f7c1dd31899e 100644 --- a/code/game/machinery/ARES/ARES_interface.dm +++ b/code/game/machinery/ARES/ARES_interface.dm @@ -339,8 +339,31 @@ // -- Print ASRS Audit Log -- // if("print_req") - playsound(src.loc, 'sound/machines/fax.ogg', 15, 1) - var/contents = {"

ASRS Audit Log

+ playsound = FALSE + if(!datacore.records_asrs.len) + to_chat(user, SPAN_WARNING("There are no records to print!")) + playsound(src, 'sound/machines/buzz-two.ogg', 15, 1) + return + playsound(src, 'sound/machines/fax.ogg', 15, 1) + sleep(3.4 SECONDS) + var/contents = {" +
\ +
\ +

A.S.R.S.

\ +

Automatic Storage Retrieval System

\ +

Audit Log

\ +

Printed By: [last_login]
Print Time: [worldtime2text()]

@@ -375,6 +398,7 @@ var/obj/item/paper/log = new /obj/item/paper(src.loc) log.name = "ASRS Audit Log" log.info += contents + log.icon_state = "paper_uscm_words" visible_message(SPAN_NOTICE("\The [src] prints out a paper.")) // -- Delete Button -- // diff --git a/tgui/packages/tgui/interfaces/AresInterface.jsx b/tgui/packages/tgui/interfaces/AresInterface.jsx index 773d875014bf..3ff9f7fbb90b 100644 --- a/tgui/packages/tgui/interfaces/AresInterface.jsx +++ b/tgui/packages/tgui/interfaces/AresInterface.jsx @@ -1247,15 +1247,18 @@ const Requisitions = (props) => {

ASRS Audit Log

- {!!records_requisition.length && ( +

+

+ {!!records_requisition.length && (