From e8b231fddd013b9ee75fe3550a11c87412ff7f78 Mon Sep 17 00:00:00 2001 From: Wayland-Smithy <64715958+Wayland-Smithy@users.noreply.github.com> Date: Fri, 16 Jul 2021 09:42:11 -0700 Subject: [PATCH] Fix automatic evac news broadcast emergency_reason double encode (#60212) I forgot to html_decode the reason when I did it for the station name. --- code/controllers/subsystem/ticker.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/controllers/subsystem/ticker.dm b/code/controllers/subsystem/ticker.dm index 2efc85f93ef..308de11d31a 100755 --- a/code/controllers/subsystem/ticker.dm +++ b/code/controllers/subsystem/ticker.dm @@ -550,7 +550,7 @@ SUBSYSTEM_DEF(ticker) news_message = "We would like to reassure all employees that the reports of a Syndicate backed nuclear attack on [decoded_station_name] are, in fact, a hoax. Have a secure day!" if(STATION_EVACUATED) if(emergency_reason) - news_message = "[decoded_station_name] has been evacuated after transmitting the following distress beacon:\n\n[emergency_reason]" + news_message = "[decoded_station_name] has been evacuated after transmitting the following distress beacon:\n\n[html_decode(emergency_reason)]" else news_message = "The crew of [decoded_station_name] has been evacuated amid unconfirmed reports of enemy activity." if(BLOB_WIN)