From 6352e68e0c8799745bde4e56abb6304b8493c63b Mon Sep 17 00:00:00 2001 From: larentoun <31931237+larentoun@users.noreply.github.com> Date: Thu, 18 Apr 2024 22:27:56 +0300 Subject: [PATCH] Removes "+" from messages (#114) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## About The Pull Request fixes https://github.com/ss220club/Bandastation/issues/106 ## Changelog :cl: fix: Теперь плюсик не пишется в чат /:cl: --- modular_bandastation/tts/code/hear.dm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modular_bandastation/tts/code/hear.dm b/modular_bandastation/tts/code/hear.dm index bdb5e768ad446..3ff04a0eeb69a 100644 --- a/modular_bandastation/tts/code/hear.dm +++ b/modular_bandastation/tts/code/hear.dm @@ -1,3 +1,9 @@ +/mob/show_message(msg, type, alt_msg, alt_type, avoid_highlighting) + if(!client) + return FALSE + msg = replacetext_char(msg, "+", null) + . = ..() + /mob/living/Hear(message, atom/movable/speaker, datum/language/message_language, raw_message, radio_freq, list/spans, list/message_mods, message_range) . = ..() if(!.)