From 4f81ed758f82ab4cd66c118747119eb7ef56170f Mon Sep 17 00:00:00 2001 From: silicons Date: Sat, 14 Oct 2023 01:14:19 -0700 Subject: [PATCH] Fix --- .../file_system/programs/command/comm.dm | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/code/modules/modular_computers/file_system/programs/command/comm.dm b/code/modules/modular_computers/file_system/programs/command/comm.dm index 38c846e67bb1..a9fe7db394c7 100644 --- a/code/modules/modular_computers/file_system/programs/command/comm.dm +++ b/code/modules/modular_computers/file_system/programs/command/comm.dm @@ -44,6 +44,18 @@ var/global/last_message_id = 0 for(var/datum/comm_message_listener/l in comm_message_listeners) l.Add(message) + // todo: refactor + + //Old console support + for (var/obj/machinery/computer/communications/comm in GLOB.machines) + if (!(comm.machine_stat & (BROKEN | NOPOWER)) && comm.prints_intercept) + var/obj/item/paper/intercept = new /obj/item/paper( comm.loc ) + intercept.name = message_title + intercept.info = message_text + + comm.messagetitle.Add(message_title) + comm.messagetext.Add(message_text) + /datum/comm_message_listener var/list/messages