From 1841e579050e43f84912cd55dfc296d114cc9ee7 Mon Sep 17 00:00:00 2001 From: Aylong <69762909+AyIong@users.noreply.github.com> Date: Mon, 23 Dec 2024 19:53:49 +0200 Subject: [PATCH] Fix names with `yo` (#905) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Что этот PR делает Fixes #796 ## Почему это хорошо для игры ![image](https://github.com/user-attachments/assets/4ba29237-77fb-4c75-b8e5-88c663fa785c) --- code/__HELPERS/text.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/__HELPERS/text.dm b/code/__HELPERS/text.dm index a6708022c9759..88e94c7b0a7c7 100644 --- a/code/__HELPERS/text.dm +++ b/code/__HELPERS/text.dm @@ -178,12 +178,12 @@ switch(text2ascii(char)) // A .. Z - if(65 to 90, 1040 to 1071, 1025) //Uppercase Letters //SS220 EDIT CHANGE - Cyrillic Fixes + if(65 to 90, 1040 to 1071, 1025) //Uppercase Letters // BANDASTATION EDIT CHANGE - Cyrillic Fixes number_of_alphanumeric++ last_char_group = LETTERS_DETECTED // a .. z - if(97 to 122, 1072 to 1103, 1105) //Lowercase Letters //SS220 EDIT CHANGE - Cyrillic Fixes + if(97 to 122, 1072 to 1103, 1105) //Lowercase Letters // BANDASTATION EDIT CHANGE - Cyrillic Fixes if(last_char_group == NO_CHARS_DETECTED || last_char_group == SPACES_DETECTED || cap_after_symbols && last_char_group == SYMBOLS_DETECTED) //start of a word char = uppertext(char) number_of_alphanumeric++ @@ -221,7 +221,7 @@ continue last_char_group = SPACES_DETECTED - if(127 to INFINITY) + if(127 to 1024, 1026 to 1104, 1106 to INFINITY) // BANDASTATION EDIT CHANGE - Cyrillic Fixes - Ёё if(ascii_only) if(strict) return