From ff80771081363ab466a3b2972f98bb62918a1dec Mon Sep 17 00:00:00 2001
From: kevinz000 <2003111+kevinz000@users.noreply.github.com>
Date: Sun, 7 Jan 2018 16:50:10 -0800
Subject: [PATCH] Fixes comms console dchat announcing announcements even if
they didn't happen for whatever reason (#34157)
* Fixes dchat broadcast
* Update communications.dm
---
code/game/machinery/computer/communications.dm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/code/game/machinery/computer/communications.dm b/code/game/machinery/computer/communications.dm
index 27f24b7902..93e9cd4da1 100755
--- a/code/game/machinery/computer/communications.dm
+++ b/code/game/machinery/computer/communications.dm
@@ -131,7 +131,6 @@
if(authenticated==2)
playsound(src, 'sound/machines/terminal_prompt.ogg', 50, 0)
make_announcement(usr)
- deadchat_broadcast("[usr.name] made an priority announcement.", usr)
if("crossserver")
if(authenticated==2)
@@ -701,6 +700,7 @@
if(!input || !user.canUseTopic(src))
return
SScommunications.make_announcement(user, is_silicon, input)
+ deadchat_broadcast("[user.name] made an priority announcement.", user)
/obj/machinery/computer/communications/proc/post_status(command, data1, data2)