From 388c1d8852326c52ef37d258fd17a196b641d1b0 Mon Sep 17 00:00:00 2001 From: Ryal Date: Mon, 15 Feb 2021 02:17:25 -0800 Subject: [PATCH] Fixes missed edge case (#15531) * Fixes formatting on request consoles. * Update requests_console.dm * Fixes oversight in previous PR --- code/game/machinery/requests_console.dm | 2 +- code/modules/research/message_server.dm | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/code/game/machinery/requests_console.dm b/code/game/machinery/requests_console.dm index 0f1a22a4d64..2d04d04644a 100644 --- a/code/game/machinery/requests_console.dm +++ b/code/game/machinery/requests_console.dm @@ -235,7 +235,7 @@ GLOBAL_LIST_EMPTY(allRequestConsoles) radiochannel = "AI Private" else if(recipient == "Cargo Bay") radiochannel = "Supply" - message_log += "Message sent to [recipient] at [station_time_timestamp()] - [message]" + message_log.Add(list(list("Message sent to [recipient] at [station_time_timestamp()]", "[message]"))) Radio.autosay("Alert; a new requests console message received for [recipient] from [department]", null, "[radiochannel]") else atom_say("No server detected!") diff --git a/code/modules/research/message_server.dm b/code/modules/research/message_server.dm index 5dfc5b4b3bc..819011e4f18 100644 --- a/code/modules/research/message_server.dm +++ b/code/modules/research/message_server.dm @@ -95,7 +95,7 @@ GLOBAL_LIST_EMPTY(message_servers) var/obj/machinery/requests_console/RC = C if(ckey(RC.department) == ckey(recipient)) if(RC.inoperable()) - RC.message_log += "Message lost due to console failure. Please contact [station_name()]'s system administrator or AI for technical assistance." + RC.message_log.Add(list(list("Message lost due to console failure. Please contact [station_name()]'s system administrator or AI for technical assistance."))) continue if(RC.newmessagepriority < priority) RC.newmessagepriority = priority @@ -105,12 +105,12 @@ GLOBAL_LIST_EMPTY(message_servers) if(!RC.silent) playsound(RC.loc, 'sound/machines/twobeep.ogg', 50, 1) RC.atom_say("PRIORITY Alert in [sender]") - RC.message_log += "High Priority message from [sender]: [authmsg]" + RC.message_log.Add(list(list("High Priority message from [sender]:", "[authmsg]"))) else if(!RC.silent) playsound(RC.loc, 'sound/machines/twobeep.ogg', 50, 1) RC.atom_say("Message from [sender]") - RC.message_log += "Message [sender]: [authmsg]" + RC.message_log.Add(list(list("Message [sender]:", "[authmsg]"))) RC.set_light(2) /obj/machinery/message_server/attack_hand(user as mob)