From 6f9b9a3795a6d0af3a9935ee6727c5a696e67bc8 Mon Sep 17 00:00:00 2001 From: kukurua Date: Wed, 25 Dec 2024 22:34:24 +0500 Subject: [PATCH] If the user uses the Russian layout, then saymode is set correctly. --- code/modules/mob/living/say.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/say.dm b/code/modules/mob/living/say.dm index b34a1e6b2ed..412fb751bfb 100644 --- a/code/modules/mob/living/say.dm +++ b/code/modules/mob/living/say.dm @@ -49,7 +49,7 @@ GLOBAL_LIST_INIT(department_radio_keys, list( var/static/list/one_character_prefix = list(MODE_HEADSET = TRUE, MODE_ROBOT = TRUE, MODE_WHISPER = TRUE, MODE_SING = TRUE) - var/datum/saymode/saymode = get_saymode(message, talk_key) + var/datum/saymode/saymode = get_saymode(message, lowertext(convert_ru_key_to_en_key(talk_key))) var/message_mode = get_message_mode(message) var/original_message = message var/in_critical = InCritical()