From c98f303a89e32a226eebe74265a59853deb2e82f Mon Sep 17 00:00:00 2001 From: Mars Date: Mon, 19 Mar 2018 16:11:56 +0100 Subject: [PATCH] Makes physical admin fax machines possible If there is a fax machine that's named like one of the admin departments, which require mapping/admin varedits, it will also recive the faxes send to admins. --- code/modules/paperwork/faxmachine.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/paperwork/faxmachine.dm b/code/modules/paperwork/faxmachine.dm index 14925d9752f..c5dcffd447a 100644 --- a/code/modules/paperwork/faxmachine.dm +++ b/code/modules/paperwork/faxmachine.dm @@ -304,6 +304,9 @@ var/list/alldepartments = list() message_admins(sender, "CENTCOM FAX", destination, rcvdcopy, "#006100") if("Syndicate") message_admins(sender, "SYNDICATE FAX", destination, rcvdcopy, "#DC143C") + for(var/obj/machinery/photocopier/faxmachine/F in allfaxes) + if( F.department == destination ) + F.receivefax(copyitem) sendcooldown = cooldown_time spawn(50) visible_message("[src] beeps, \"Message transmitted successfully.\"")