diff --git a/modular_ss220/modules/cyrillic_key_fixes/code/text.dm b/modular_ss220/modules/cyrillic_key_fixes/code/text.dm index a3ec83c0465909..d9703708bebf98 100644 --- a/modular_ss220/modules/cyrillic_key_fixes/code/text.dm +++ b/modular_ss220/modules/cyrillic_key_fixes/code/text.dm @@ -4,8 +4,8 @@ GLOBAL_LIST_INIT(ru_key_to_en_key, list( "я" = "z", "ч" = "x", "с" = "c", "м" = "v", "и" = "b", "т" = "n", "ь" = "m", "б" = ",", "ю" = "." )) -/proc/convert_ru_key_to_en_key(var/_key) - var/new_key = lowertext(_key) +/proc/convert_ru_key_to_en_key(_key) + var/new_key = LOWER_TEXT(_key) new_key = GLOB.ru_key_to_en_key[new_key] if(!new_key) return _key diff --git a/modular_ss220/modules/return_prs/black_mesa/code/factions.dm b/modular_ss220/modules/return_prs/black_mesa/code/factions.dm index 52f2889b45b7d6..7c723803fe1804 100644 --- a/modular_ss220/modules/return_prs/black_mesa/code/factions.dm +++ b/modular_ss220/modules/return_prs/black_mesa/code/factions.dm @@ -3,4 +3,4 @@ #define FACTION_XEN "xen" #define FACTION_HECU "hecu" #define FACTION_BLACKOPS "blackops" -#define FACTION_BLACKMESA "blackmesa" \ No newline at end of file +#define FACTION_BLACKMESA "blackmesa" diff --git a/modular_ss220/modules/tts/code/tts_subsystem.dm b/modular_ss220/modules/tts/code/tts_subsystem.dm index c4da1cf0f8ee42..c373240981d5d0 100644 --- a/modular_ss220/modules/tts/code/tts_subsystem.dm +++ b/modular_ss220/modules/tts/code/tts_subsystem.dm @@ -288,7 +288,7 @@ SUBSYSTEM_DEF(ttsSilero) if(traits & TTS_TRAIT_PITCH_WHISPER) text = provider.pitch_whisper(text) - var/hash = rustg_hash_string(RUSTG_HASH_MD5, lowertext(text)) + var/hash = rustg_hash_string(RUSTG_HASH_MD5, LOWER_TEXT(text)) var/filename = "sound/tts_cache/[seed.name]/[hash]" if(fexists("[filename].ogg")) @@ -580,7 +580,7 @@ SUBSYSTEM_DEF(ttsSilero) "меде" = "м еде", "кз" = "Кэ Зэ", ) - var/match = tts_replacement_list[lowertext(word)] + var/match = tts_replacement_list[LOWER_TEXT(word)] if(match) return match return word diff --git a/ss220/tools/ss220_check_grep.sh b/ss220/tools/ss220_check_grep.sh index 4b716c7a585c38..bd75b8877f57d5 100644 --- a/ss220/tools/ss220_check_grep.sh +++ b/ss220/tools/ss220_check_grep.sh @@ -9,4 +9,4 @@ NC="\033[0m" # No Color echo -e "${BLUE}Re-running grep checks, but looking in modular_ss220...${NC}" # Run the linters again, but modular skyrat code. -sed "s|code/\*\*/\*\.dm|modular_ss220/\*\*/\*\.dm|g"