From 78b7a6664e4cec30d78ec2aac18d0dbc94033e23 Mon Sep 17 00:00:00 2001 From: Jack Edge Date: Tue, 4 Dec 2018 23:15:42 +0000 Subject: [PATCH 1/2] Cryo tubes only ever send one radio message when finishing :cl: coiax add: Cryo tubes will only ever send one message, even if they are auto ejecting. /:cl: Just put them on the same line, jesus. --- .../atmospherics/machinery/components/unary_devices/cryo.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/modules/atmospherics/machinery/components/unary_devices/cryo.dm b/code/modules/atmospherics/machinery/components/unary_devices/cryo.dm index b9c4cc29476..c3f1208dff8 100644 --- a/code/modules/atmospherics/machinery/components/unary_devices/cryo.dm +++ b/code/modules/atmospherics/machinery/components/unary_devices/cryo.dm @@ -179,10 +179,11 @@ on = FALSE update_icon() playsound(src, 'sound/machines/cryo_warning.ogg', volume) // Bug the doctors. - radio.talk_into(src, "Patient fully restored", radio_channel, get_spans(), get_default_language()) + var/msg = "Patient fully restored." if(autoeject) // Eject if configured. - radio.talk_into(src, "Auto ejecting patient now", radio_channel, get_spans(), get_default_language()) + msg = "[msg] Auto ejecting patient now." open_machine() + radio.talk_into(src, msg, radio_channel, get_spans(), get_default_language()) return var/datum/gas_mixture/air1 = airs[1] From bb7be02d99e3dec80721bdb2f6bd7e7777a20681 Mon Sep 17 00:00:00 2001 From: MrDoomBringer Date: Wed, 5 Dec 2018 01:04:32 +0000 Subject: [PATCH 2/2] + instead of [] Co-Authored-By: coiax --- .../atmospherics/machinery/components/unary_devices/cryo.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/atmospherics/machinery/components/unary_devices/cryo.dm b/code/modules/atmospherics/machinery/components/unary_devices/cryo.dm index c3f1208dff8..f6b75f6f318 100644 --- a/code/modules/atmospherics/machinery/components/unary_devices/cryo.dm +++ b/code/modules/atmospherics/machinery/components/unary_devices/cryo.dm @@ -181,7 +181,7 @@ playsound(src, 'sound/machines/cryo_warning.ogg', volume) // Bug the doctors. var/msg = "Patient fully restored." if(autoeject) // Eject if configured. - msg = "[msg] Auto ejecting patient now." + msg += " Auto ejecting patient now." open_machine() radio.talk_into(src, msg, radio_channel, get_spans(), get_default_language()) return