From 9e6d8da295d2efc2be65fdd9c2b6fdcb120104b0 Mon Sep 17 00:00:00 2001 From: Contrabang <91113370+Contrabang@users.noreply.github.com> Date: Tue, 5 Nov 2024 08:16:27 -0500 Subject: [PATCH] Fixes Admin Comms Consoles (#27274) --- 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 f83285fc6afb..2870683a5c3f 100644 --- a/code/game/machinery/computer/communications.dm +++ b/code/game/machinery/computer/communications.dm @@ -352,7 +352,7 @@ if("make_cc_announcement") if(!ADMIN_CHECK(ui.user)) return - if(!text2bool(params["classified"])) + if(params["classified"] != 1) // this uses 1/0 on the js side instead of "true" or "false" GLOB.major_announcement.Announce( params["text"], new_title = "Central Command Report",